makemkv: Allow setting PWD in other variable
When using it with waypipe, the PWD set by env is ignored.
This commit is contained in:
parent
26bed20816
commit
72fd16e5f7
|
@ -21,7 +21,7 @@ let
|
||||||
--dev-bind /dev/sr0 /dev/sr0 \
|
--dev-bind /dev/sr0 /dev/sr0 \
|
||||||
--dev-bind /dev/sg2 /dev/sg2 \
|
--dev-bind /dev/sg2 /dev/sg2 \
|
||||||
--dev-bind /sys/bus/scsi /sys/bus/scsi \
|
--dev-bind /sys/bus/scsi /sys/bus/scsi \
|
||||||
--bind $PWD $PWD \
|
--bind ''${PWD_TARGET:-$PWD} ''${PWD_TARGET:-$PWD} \
|
||||||
${pkgs.unstable.makemkv}/bin/makemkv
|
${pkgs.unstable.makemkv}/bin/makemkv
|
||||||
'';
|
'';
|
||||||
in
|
in
|
||||||
|
|
Loading…
Reference in a new issue