From 922843aa6ca86c9434f46a71d9e373da738d2539 Mon Sep 17 00:00:00 2001 From: chn Date: Mon, 14 Oct 2024 12:23:17 +0800 Subject: [PATCH] packages.lmod: fix --- packages/lmod.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ."; }