2 files changed, 1 insertions(+), 7 deletions(-)
M Tupfile
D configure.nix
M Tupfile => Tupfile +1 -1
@@ 1,3 1,3 @@
include_rules
: |> !nim_lk |> | ./<lock>
-: configure.nix | lock.json |> nix eval --file %f --raw > %o |> nim.cfg | ./<lock>
+: lock.json |> !nim_cfg |> | ./<lock>
D configure.nix => configure.nix +0 -6
@@ 1,6 0,0 @@
-let
- pkgs = import <nixpkgs> { };
- inherit (pkgs) lib;
- lock = with builtins; fromJSON (readFile ./lock.json);
-in lib.strings.concatLines
-(map ({ path, srcDir, ... }: ''path:"${path}/${srcDir}"'') lock.depends)