mirror of
https://github.com/CHN-beta/nixos.git
synced 2024-10-22 21:38:44 +08:00
packages.lmod: fix
This commit is contained in:
parent
bf74084724
commit
922843aa6c
@ -1,14 +1,14 @@
|
|||||||
{
|
{
|
||||||
stdenv, src,
|
stdenv, src,
|
||||||
tcl,
|
tcl,
|
||||||
procps, bc, lua
|
procps, bc, lua, pkg-config
|
||||||
}:
|
}:
|
||||||
stdenv.mkDerivation
|
stdenv.mkDerivation
|
||||||
{
|
{
|
||||||
name = "lmod";
|
name = "lmod";
|
||||||
inherit src;
|
inherit src;
|
||||||
buildInputs = [ tcl ];
|
buildInputs = [ tcl ];
|
||||||
nativeBuildInputs = [ procps bc (lua.withPackages (ps: with ps; [ luaposix ])) ];
|
nativeBuildInputs = [ pkg-config procps bc (lua.withPackages (ps: with ps; [ luaposix ])) ];
|
||||||
configurePhase = ''./configure --prefix=$out/share'';
|
configurePhase = ''./configure --prefix=$out/share'';
|
||||||
postUnpack = "patchShebangs .";
|
postUnpack = "patchShebangs .";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user