summaryrefslogtreecommitdiff
path: root/nixos.nix
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2019-02-19 11:39:30 -0800
committerBen Sima <ben@bsima.me>2019-02-19 11:39:30 -0800
commit2af2b4eb6f22d418101b1df79e8cae94555b01fd (patch)
tree498fb6917dc928b7cc0b6a9afe39e519bd2dc2f8 /nixos.nix
parent76272ddf601795a9747d02eeb466b542555ac4ab (diff)
Fetch pinned nixpkgs as tarball
This should speed up initial building (e.g. on a builds.sr.ht).
Diffstat (limited to 'nixos.nix')
-rw-r--r--nixos.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos.nix b/nixos.nix
index 4a1257e..a1a1205 100644
--- a/nixos.nix
+++ b/nixos.nix
@@ -1,7 +1,7 @@
# Nix config for the main biz machine.
let
- nixpkgs = fetchGit (import ./pkgs.nix);
+ nixpkgs = builtins.fetchTarball (import ./pkgs.nix);
in
import "${nixpkgs}/nixos" {
system = "x86_64-linux";