aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-04-19 14:41:59 +0200
committerEelco Dolstra <edolstra@gmail.com>2019-04-19 14:41:59 +0200
commitcbfdea685764bf66443a999e672656c54289b8c9 (patch)
treeac28e2dc0785bde4b6c07f678624c372d015f188
parent3392f1b77869269580b58e4931b7a79f44799ce0 (diff)
fetchGit -> fetchTarball
-rw-r--r--release.nix2
-rw-r--r--shell.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/release.nix b/release.nix
index f52120474..a47ca862f 100644
--- a/release.nix
+++ b/release.nix
@@ -1,5 +1,5 @@
{ nix ? builtins.fetchGit ./.
-, nixpkgs ? builtins.fetchGit { url = https://github.com/NixOS/nixpkgs-channels.git; ref = "nixos-19.03"; }
+, nixpkgs ? builtins.fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/nixos-19.03.tar.gz
, officialRelease ? false
, systems ? [ "x86_64-linux" "i686-linux" "x86_64-darwin" "aarch64-linux" ]
}:
diff --git a/shell.nix b/shell.nix
index 73e75fb29..8167f87a2 100644
--- a/shell.nix
+++ b/shell.nix
@@ -1,6 +1,6 @@
{ useClang ? false }:
-with import (builtins.fetchGit { url = https://github.com/NixOS/nixpkgs-channels.git; ref = "nixos-19.03"; }) {};
+with import (builtins.fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/nixos-19.03.tar.gz) {};
with import ./release-common.nix { inherit pkgs; };