~kaction/config

ref: fb2cfdb0b2cf032054cde714b9732ab2b9d0a5de config/system-v2/nix-sys/generate.do -rwxr-xr-x 377 bytes
fb2cfdb0 — Dmitry Bogatov nix-sys: move more of build process out of Nix 9 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh -eu
out=$(cat conf/out)
cdb=$(cat conf/cdb)
manifest=$(cat conf/manifest)
redo-ifchange conf/out conf/cdb conf/manifest

hash=$(echo "$out" | cut -b 12-43)
exec nix-sys-generate               \
      --manifest "$manifest"        \
      --output-config config.h      \
      --output-cdb "$cdb"           \
      --staged-output-cdb index.cdb \
      --hash "$hash"