mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-10 15:04:44 +00:00
msecli: fix fhsenv version (#363178)
This commit is contained in:
commit
0de8a46f36
@ -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
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user