We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
src = ./.
1 parent 88fd8be commit f9484faCopy full SHA for f9484fa
default.nix
@@ -5,7 +5,17 @@ with pkgs.haskell.lib;
5
((import ./stack2nix.nix { inherit pkgs; }).override {
6
overrides = self: super: {
7
# TODO: separate out output
8
- stack2nix = justStaticExecutables super.stack2nix;
+ 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
+ }));
19
20
# https://github.com/commercialhaskell/lts-haskell/issues/149
21
stack = doJailbreak super.stack;
0 commit comments