pulp: add purescript to PATH

This commit is contained in:
Jörg Thalheim 2020-05-30 19:53:09 +01:00
parent 9921d78589
commit 3ee20ba064
No known key found for this signature in database
GPG Key ID: 003F2096411B5F92

View File

@ -76,7 +76,7 @@ let
};
insect = super.insect.override (drv: {
nativeBuildInputs = drv.nativeBuildInputs or [] ++ [ pkgs.psc-package pkgs.purescript self.pulp ];
nativeBuildInputs = drv.nativeBuildInputs or [] ++ [ pkgs.psc-package self.pulp ];
});
node-inspector = super.node-inspector.override {
@ -117,6 +117,13 @@ let
pulp = super.pulp.override {
# tries to install purescript
npmFlags = "--ignore-scripts";
nativeBuildInputs = [ pkgs.makeWrapper ];
postInstall = ''
wrapProgram "$out/bin/pulp" --suffix PATH : ${stdenv.lib.makeBinPath [
pkgs.purescript
]}
'';
};
ssb-server = super.ssb-server.override {