Skip to content

Commit b65d589

Browse files
committed
Test nixpkgs#436776
1 parent 46ccc7c commit b65d589

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.nix/nixpkgs.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
fetchTarball {
2-
url = "https://github.com/NixOS/nixpkgs/archive/d3244e63ff6db4c5e43e1af9ff3eeaa280345f5b.tar.gz";
3-
sha256 = "1zz2zq5y3a12k6bc2kqvsar7ylg9zalvi5p16qcf4qc5pd4zvamc";
4-
}
2+
url = "https://github.com/stepbrobd/nixpkgs/archive/6d17a39a90f52eeef334ee06b8ad6261c04e9423.tar.gz";
3+
sha256 = "0l185sl2dp68i4ir2r28bxfb3p609l781lcb5bxk5zm30b2plf98";
4+
}

config-parser-1.0.0/normalize.nix

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,10 @@ in rec {
4848
if false # replace by a version check when supported
4949
# cf https://github.com/NixOS/nix/issues/1837
5050
then { url = initial.src; shallow = true; } else initial.src)
51+
# FIXME:
52+
else if isAttrs (lib.traceVal initial.src) && !(initial.src ? sha256) then
53+
builtins.fetchTarball {
54+
url = "https://github.com/${initial.src.owner}/${initial.src.repo}/archive/${initial.src.rev}.tar.gz";
55+
}
5156
else /. + initial.src);
5257
}

0 commit comments

Comments
 (0)