summaryrefslogtreecommitdiffstats
path: root/bin/nixos-build
diff options
context:
space:
mode:
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 \