diff options
-rw-r--r-- | ymir/mlmmj-expose.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ymir/mlmmj-expose.nix b/ymir/mlmmj-expose.nix index b165c0f1..cd11aa6e 100644 --- a/ymir/mlmmj-expose.nix +++ b/ymir/mlmmj-expose.nix | |||
@@ -18,9 +18,14 @@ in rec { | |||
18 | 18 | ||
19 | src = ./mlmmj-expose; | 19 | src = ./mlmmj-expose; |
20 | 20 | ||
21 | phases = [ "unpackPhase" "buildPhase" "installPhase" ]; | 21 | phases = [ "unpackPhase" "patchPhase" "buildPhase" "installPhase" ]; |
22 | 22 | ||
23 | env = self.haskellPackages.ghcWithPackages dependencies; | 23 | env = self.haskellPackages.ghcWithPackages dependencies; |
24 | import (pkgs) mlmmj; | ||
25 | |||
26 | patchPhase = '' | ||
27 | substituteAllInPlace mlmmj-expose.hs | ||
28 | ''; | ||
24 | 29 | ||
25 | buildPhase = '' | 30 | buildPhase = '' |
26 | ${env}/bin/ghc -o mlmmj-expose -odir . -hidir . mlmmj-expose.hs | 31 | ${env}/bin/ghc -o mlmmj-expose -odir . -hidir . mlmmj-expose.hs |