nixos/envfs: use configured environment.usrbinenv and environment.binsh

Taken from upstream
d91aeefccb
This commit is contained in:
Sandro Jäckel 2023-01-30 16:52:43 +01:00
parent 0125b49eeb
commit d9f07dcee5
No known key found for this signature in database
GPG key ID: B1763F8651144063

View file

@ -9,8 +9,8 @@ let
options = [
"fallback-path=${pkgs.runCommand "fallback-path" {} ''
mkdir -p $out
ln -s ${pkgs.coreutils}/bin/env $out/env
ln -s ${config.system.build.binsh}/bin/sh $out/sh
ln -s ${config.environment.usrbinenv} $out/env
ln -s ${config.environment.binsh} $out/sh
''}"
];
};