File tree Expand file tree Collapse file tree 3 files changed +19
-2
lines changed
Expand file tree Collapse file tree 3 files changed +19
-2
lines changed Original file line number Diff line number Diff line change 106106
107107 # Programs for generating Nix expressions from Cabal and Stack
108108 # files.
109- nix-tools = self . callPackage ./nix-tools { } ;
109+ nix-tools = self . callPackage ./nix-tools { inherit fetchExternal ; } ;
110110
111111 # Snapshots of Hackage and Stackage, converted to Nix expressions,
112112 # regularly updated.
Original file line number Diff line number Diff line change 1- { symlinkJoin , mkCabalProjectPkgSet } :
1+ { symlinkJoin , fetchExternal , mkCabalProjectPkgSet } :
22
33let
4+ src = fetchExternal {
5+ name = "nix-tools-src" ;
6+ specJSON = ./nix-tools-src.json ;
7+ override = "nix-tools" ;
8+ } ;
9+
410 pkgSet = mkCabalProjectPkgSet {
511 plan-pkgs = import ./pkgs.nix ;
612 pkg-def-extras = [ ] ;
1016 packages . time-compat . components . library . doExactConfig = true ;
1117 packages . time-locale-compat . components . library . doExactConfig = true ;
1218 }
19+
20+ {
21+ packages . nix-tools . src = src ;
22+ }
1323 ] ;
1424 } ;
1525
Original file line number Diff line number Diff line change 1+ {
2+ "url" : " https://github.com/input-output-hk/nix-tools" ,
3+ "rev" : " 38bf6fd0adef4d22fe06def521f5d793c081f6ed" ,
4+ "date" : " 2019-03-20T12:40:31+10:00" ,
5+ "sha256" : " 0y8xap5cvc9rssjjvlgv6lyi8ixpxnq675r3gkz2ix7hrsgk8989" ,
6+ "fetchSubmodules" : false
7+ }
You can’t perform that action at this time.
0 commit comments