packages.lmod: fix

This commit is contained in:
陈浩南 2024-10-14 12:23:17 +08:00
parent bf74084724
commit 922843aa6c

View File

@ -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 .";
} }