File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 11fetchTarball {
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+ }
Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments