File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,17 @@ with pkgs.haskell.lib;
5
5
( ( import ./stack2nix.nix { inherit pkgs ; } ) . override {
6
6
overrides = self : super : {
7
7
# TODO: separate out output
8
- stack2nix = justStaticExecutables super . stack2nix ;
8
+ stack2nix = justStaticExecutables ( overrideCabal super . stack2nix ( old : {
9
+ src = builtins . path {
10
+ name = "stack2nix" ;
11
+ path = ./. ;
12
+ # Filter hidden dirs (.), e.g. .git and .stack-work
13
+ # TODO Remove once https://github.com/input-output-hk/stack2nix/issues/119 is done
14
+ filter = path : type :
15
+ pkgs . lib . hasPrefix "." ( baseNameOf path )
16
+ && baseNameOf path != "stack.yaml" ;
17
+ } ;
18
+ } ) ) ;
9
19
10
20
# https://github.com/commercialhaskell/lts-haskell/issues/149
11
21
stack = doJailbreak super . stack ;
You can’t perform that action at this time.
0 commit comments