File tree Expand file tree Collapse file tree 3 files changed +28
-0
lines changed Expand file tree Collapse file tree 3 files changed +28
-0
lines changed Original file line number Diff line number Diff line change 77
77
modules = [ ghcHackagePatches . ${ compiler . nix-name } ] ++ modules ;
78
78
} ;
79
79
80
+ # Programs for generating Nix expressions from Cabal and Stack
81
+ # files.
82
+ nix-tools = self . callPackage ./nix-tools {
83
+ inherit fetchExternal ;
84
+ } ;
85
+
80
86
# Snapshots of Hackage and Stackage, converted to Nix expressions,
81
87
# regularly updated.
82
88
inherit hackage stackage ;
Original file line number Diff line number Diff line change
1
+ { symlinkJoin , fetchExternal , mkPkgSet } :
2
+
3
+ let
4
+ src = fetchExternal {
5
+ name = "nix-tools-src" ;
6
+ specJSON = ./nix-tools-src.json ;
7
+ override = "nix-tools" ;
8
+ } ;
9
+
10
+ hsPkgs = import ( src + "/pkgs.nix" ) { inherit mkPkgSet ; } ;
11
+ in
12
+ symlinkJoin {
13
+ name = "nix-tools" ;
14
+ paths = builtins . attrValues hsPkgs . nix-tools . components . exes ;
15
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "url" : " https://github.com/input-output-hk/nix-tools" ,
3
+ "rev" : " 232e4fde7f942ef234b649144016d5da0f7e2745" ,
4
+ "date" : " 2019-02-11T12:59:38+08:00" ,
5
+ "sha256" : " 1nrm9vcq443isk09z1fmlp8zxnw9p3cx95zbda29s5mky17ky2c0" ,
6
+ "fetchSubmodules" : false
7
+ }
You can’t perform that action at this time.
0 commit comments