aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-04-19 14:41:59 +0200
committerEelco Dolstra <edolstra@gmail.com>2019-05-17 22:28:03 +0200
commit14c877b4ab097667734b050a79b45658dcf2695d (patch)
tree557fffb722d6b0f1c38f03745ef4589a65915875
parentc0559a1d6092b94c7ce46a065d72fc74e4db51dd (diff)
fetchGit -> fetchTarball
(cherry picked from commit cbfdea685764bf66443a999e672656c54289b8c9)
-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 ab13451ff..78b39108f 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; };