~ehmry/hottext

4fd7e9a43458c8358e6c81ce3385732d42562168 — Emery Hemingway 11 months ago e7c399d
Adjust build system
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)