diff --git a/packages/lmod.nix b/packages/lmod.nix index 765790f6..2490880a 100644 --- a/packages/lmod.nix +++ b/packages/lmod.nix @@ -1,14 +1,14 @@ { stdenv, src, tcl, - procps, bc, lua + procps, bc, lua, pkg-config }: stdenv.mkDerivation { name = "lmod"; inherit src; 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''; postUnpack = "patchShebangs ."; }