msecli: fix fhsenv version (#363178)

This commit is contained in:
Felix Bühler 2024-12-11 22:14:52 +01:00 committed by GitHub
commit 0de8a46f36
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,7 +16,10 @@ let
hash = "sha256-IszdD/9fAh+JA26bSR1roXSo8LDU/rf4CuRI3HjU1xc=";
};
buildEnv = buildFHSEnv { name = "msecli-buildEnv"; };
buildEnv = buildFHSEnv {
pname = "msecli-buildEnv";
inherit version;
};
in
stdenv.mkDerivation {
inherit pname version src;
@ -39,7 +42,7 @@ stdenv.mkDerivation {
# ignore the exit code as the installer
# fails at optional steps due to read only FHS
${buildEnv}/bin/${buildEnv.name} -c "./${src.name} --mode unattended --prefix bin || true"
${buildEnv}/bin/${buildEnv.pname} -c "./${src.name} --mode unattended --prefix bin || true"
runHook postbuild
'';