Merge branch 'intero-nix-shim' of git://github.com/michalrus/nixpkgs
This commit is contained in:
commit
63841d159e
@ -1,5 +1,6 @@
|
|||||||
{ mkDerivation, base, directory, filepath, optparse-applicative
|
{ mkDerivation, base, cabal-install, directory, fetchFromGitHub
|
||||||
, posix-escape, split, stdenv, unix, fetchFromGitHub
|
, filepath, intero, optparse-applicative, posix-escape, split
|
||||||
|
, stdenv, unix
|
||||||
}:
|
}:
|
||||||
mkDerivation {
|
mkDerivation {
|
||||||
pname = "intero-nix-shim";
|
pname = "intero-nix-shim";
|
||||||
@ -16,6 +17,11 @@ mkDerivation {
|
|||||||
base directory filepath optparse-applicative posix-escape split
|
base directory filepath optparse-applicative posix-escape split
|
||||||
unix
|
unix
|
||||||
];
|
];
|
||||||
|
postInstall = ''
|
||||||
|
mkdir -p $out/libexec
|
||||||
|
ln -s ${cabal-install}/bin/cabal $out/libexec
|
||||||
|
ln -s ${intero }/bin/intero $out/libexec
|
||||||
|
'';
|
||||||
homepage = "https://github.com/michalrus/intero-nix-shim";
|
homepage = "https://github.com/michalrus/intero-nix-shim";
|
||||||
license = stdenv.lib.licenses.asl20;
|
license = stdenv.lib.licenses.asl20;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user