makemkv: Allow setting PWD in other variable

When using it with waypipe, the PWD set by env is ignored.
This commit is contained in:
Simon Bruder 2022-04-02 08:51:51 +02:00
parent 26bed20816
commit 72fd16e5f7
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -21,7 +21,7 @@ let
--dev-bind /dev/sr0 /dev/sr0 \
--dev-bind /dev/sg2 /dev/sg2 \
--dev-bind /sys/bus/scsi /sys/bus/scsi \
--bind $PWD $PWD \
--bind ''${PWD_TARGET:-$PWD} ''${PWD_TARGET:-$PWD} \
${pkgs.unstable.makemkv}/bin/makemkv
'';
in