diff options
author | tv <tv@shackspace.de> | 2015-07-07 05:55:28 +0200 |
---|---|---|
committer | tv <tv@shackspace.de> | 2015-07-07 05:55:28 +0200 |
commit | 366373e9c6d20501e0756a7e97cced2cb96d447d (patch) | |
tree | 94d4afccec8b669ea7564fed069513807fd4ff8b /bin/nixos-build | |
parent | 9c2bc5b4d0c6a87d5902eea3c3838d28dfe89a85 (diff) |
deploy: refactor to use modified/*/paths.nix
Diffstat (limited to 'bin/nixos-build')
-rwxr-xr-x | bin/nixos-build | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/bin/nixos-build b/bin/nixos-build deleted file mode 100755 index 3e902fd08..000000000 --- a/bin/nixos-build +++ /dev/null @@ -1,24 +0,0 @@ -#! /bin/sh -# -# nixos-build system_name -> system_path -# -set -euf - -system_name=$1 - -NIXOS_CONFIG=$config_root/modules/$system_name -export NIXOS_CONFIG - -# Notice how host's NIX_PATH is used to prefetch nixpkgs. -prefetch nixpkgs "$nixpkgs_root/$system_name" - -NIX_PATH=$nixpkgs_root/$system_name -NIX_PATH=$NIX_PATH:secrets=$secrets_root/$system_name/nix -NIX_PATH=$NIX_PATH:pubkeys=$config_root/pubkeys -NIX_PATH=$NIX_PATH:retiolum-hosts=$retiolum_hosts -export NIX_PATH - -exec nix-build \ - -A system \ - --no-out-link \ - '<nixos>' |