diff options
author | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-11-12 15:11:42 +0100 |
---|---|---|
committer | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-11-12 15:11:42 +0100 |
commit | 0b448ae4be1718af7221a051e3be55347820ebc3 (patch) | |
tree | 3a3bb9bb4059c56dab009c97e9571c78f6534f92 | |
parent | e34688e295964500e1d0215e55fa57fe3628e9bc (diff) | |
download | 2017-01-16_17:13:37-0b448ae4be1718af7221a051e3be55347820ebc3.tar 2017-01-16_17:13:37-0b448ae4be1718af7221a051e3be55347820ebc3.tar.gz 2017-01-16_17:13:37-0b448ae4be1718af7221a051e3be55347820ebc3.tar.bz2 2017-01-16_17:13:37-0b448ae4be1718af7221a051e3be55347820ebc3.tar.xz 2017-01-16_17:13:37-0b448ae4be1718af7221a051e3be55347820ebc3.zip |
fix build
-rw-r--r-- | default.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/default.nix b/default.nix index 6e792e9..8ae54cc 100644 --- a/default.nix +++ b/default.nix | |||
@@ -23,6 +23,16 @@ rec { | |||
23 | }; | 23 | }; |
24 | unpackPhase = "cp -r $src/shellac-haskeline/. ."; | 24 | unpackPhase = "cp -r $src/shellac-haskeline/. ."; |
25 | }); | 25 | }); |
26 | game-probability = pkgs.stdenv.lib.overrideDerivation super.game-probability (oldAttrs: { | ||
27 | patchPhase = '' | ||
28 | sed -i -e 's|random.*==[^,]*|random|; w /dev/stdout' -e 's|containers.*>=[^,]*|containers|; w /dev/stdout' game-probability.cabal | ||
29 | ''; | ||
30 | }); | ||
31 | table-layout = pkgs.stdenv.lib.overrideDerivation super.table-layout (oldAttrs: { | ||
32 | patchPhase = '' | ||
33 | sed -i -e 's|data-default-class.*==[^,]*|data-default-class|; w /dev/stdout' table-layout.cabal | ||
34 | ''; | ||
35 | }); | ||
26 | }; | 36 | }; |
27 | }; | 37 | }; |
28 | sequence = haskellPackages.callPackage ./sequence.nix {}; | 38 | sequence = haskellPackages.callPackage ./sequence.nix {}; |