aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDomen Kožar <domen@dev.si>2022-07-14 17:36:31 -0500
committerDomen Kožar <domen@dev.si>2022-07-14 17:45:02 -0500
commit99208bb8ccd7387c09907e7b17d0091f2f767b14 (patch)
tree9a91e6b8a1c2d27fddbb05995e71b06bba5de117
parentca4d5bee09df0393dd525b3cd5159a23d4683f2e (diff)
curl: patch for netrc regression in Nix
-rw-r--r--flake.lock6
-rw-r--r--flake.nix4
2 files changed, 5 insertions, 5 deletions
diff --git a/flake.lock b/flake.lock
index 01e4f506a..a66c9cb1b 100644
--- a/flake.lock
+++ b/flake.lock
@@ -18,11 +18,11 @@
},
"nixpkgs": {
"locked": {
- "lastModified": 1653988320,
- "narHash": "sha256-ZaqFFsSDipZ6KVqriwM34T739+KLYJvNmCWzErjAg7c=",
+ "lastModified": 1657693803,
+ "narHash": "sha256-G++2CJ9u0E7NNTAi9n5G8TdDmGJXcIjkJ3NF8cetQB8=",
"owner": "NixOS",
"repo": "nixpkgs",
- "rev": "2fa57ed190fd6c7c746319444f34b5917666e5c1",
+ "rev": "365e1b3a859281cf11b94f87231adeabbdd878a2",
"type": "github"
},
"original": {
diff --git a/flake.nix b/flake.nix
index 1ee040441..1b26460e7 100644
--- a/flake.nix
+++ b/flake.nix
@@ -108,7 +108,7 @@
++ lib.optionals stdenv.hostPlatform.isLinux [(buildPackages.util-linuxMinimal or buildPackages.utillinuxMinimal)];
buildDeps =
- [ curl
+ [ (curl.override { patchNetrcRegression = true; })
bzip2 xz brotli editline
openssl sqlite
libarchive
@@ -363,7 +363,7 @@
buildInputs =
[ nix
- curl
+ (curl.override { patchNetrcRegression = true; })
bzip2
xz
pkgs.perl