summaryrefslogtreecommitdiffstats
path: root/bin/nixos-build
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2015-06-28 15:04:45 +0200
committertv <tv@shackspace.de>2015-06-28 15:06:12 +0200
commit2e6221e095c0086674248526bae3e1ad03efc064 (patch)
tree3b84c415cbdc02394bed0b8ee698ea078842168a /bin/nixos-build
parent3ca8eec45c93d6fd0f887613f7df2b16e63a8b69 (diff)
fetchgit: allow using dirty local work trees
Diffstat (limited to 'bin/nixos-build')
-rwxr-xr-xbin/nixos-build5
1 files changed, 1 insertions, 4 deletions
diff --git a/bin/nixos-build b/bin/nixos-build
index 200f99e4a..d00fc4d6b 100755
--- a/bin/nixos-build
+++ b/bin/nixos-build
@@ -21,10 +21,7 @@ secrets_rsync=$secrets_root/$host/rsync
NIX_PATH=$NIX_PATH:secrets=$secrets_nix
export NIX_PATH
- rev=$(nixos-query nixpkgs.rev)
- url=$(nixos-query nixpkgs.url)
-
- fetchgit "$rev" "$url" tmp/nixpkgs/$host
+ fetchgit nixpkgs tmp/nixpkgs/$host
)
nix-build \