Skip to content

Commit

Permalink
chore(.nix): Don't use url litteral when fetching nixpkgs
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom-Hubrecht authored and vbgl committed Nov 29, 2024
1 parent bf5241f commit 858ff8d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .nix/nixpkgs.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
fetchTarball {
url = https://github.com/NixOS/nixpkgs/archive/14d8890fb9edffcfe0aaa296ffc44547c7be04ab.tar.gz;
url = "https://github.com/NixOS/nixpkgs/archive/14d8890fb9edffcfe0aaa296ffc44547c7be04ab.tar.gz";
sha256 = "0zy5dav7mqlkx9vg1dvd1889nglnc4pws58r5pcwm9mn8qnh2r8r";
}
6 changes: 3 additions & 3 deletions .nix/shellHook.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ updateNixpkgsUnstable (){
SHA256=$(nix-prefetch-url --unpack $URL)
mkdir -p $configDir
echo "fetchTarball {
url = $URL;
url = \"$URL\";
sha256 = \"$SHA256\";
}" > $configDir/nixpkgs.nix
}
Expand All @@ -91,7 +91,7 @@ updateNixpkgsMaster (){
SHA256=$(nix-prefetch-url --unpack $URL)
mkdir -p $configDir
echo "fetchTarball {
url = $URL;
url = \"$URL\";
sha256 = \"$SHA256\";
}" > $configDir/nixpkgs.nix
}
Expand All @@ -105,7 +105,7 @@ updateNixpkgs (){
SHA256=$(nix-prefetch-url --unpack $URL)
mkdir -p $configDir
echo "fetchTarball {
url = $URL;
url = \"$URL\";
sha256 = \"$SHA256\";
}" > $configDir/nixpkgs.nix
else
Expand Down

0 comments on commit 858ff8d

Please sign in to comment.