mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
8d55538f97
This reverts commit 69d4adee1f
.
14 lines
395 B
Nix
14 lines
395 B
Nix
{ symlinkJoin, makeWrapper, stdenv }: idris: { path, lib }:
|
|
|
|
symlinkJoin {
|
|
name = idris.name;
|
|
src = idris.src;
|
|
paths = [ idris ];
|
|
buildInputs = [ makeWrapper ];
|
|
meta.platforms = idris.meta.platforms;
|
|
postBuild = ''
|
|
wrapProgram $out/bin/idris \
|
|
--suffix PATH : ${ stdenv.lib.makeBinPath path } \
|
|
--suffix LIBRARY_PATH : ${stdenv.lib.makeLibraryPath lib}
|
|
'';
|
|
}
|