mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-15 02:36:16 +02:00
msys2: use ls.exe instead of coreutils.exe for coreutils directory
This commit is contained in:
parent
c25967384f
commit
a9c417dbab
1 changed files with 6 additions and 1 deletions
|
@ -17,7 +17,12 @@ fs = import('fs')
|
||||||
nix = find_program('nix')
|
nix = find_program('nix')
|
||||||
bash = find_program('bash', native : true)
|
bash = find_program('bash', native : true)
|
||||||
busybox = find_program('busybox', native : true, required : false)
|
busybox = find_program('busybox', native : true, required : false)
|
||||||
|
if host_machine.system() == 'windows'
|
||||||
|
# Because of the state of symlinks on Windows, coreutils.exe doesn't usually exist, but things like ls.exe will
|
||||||
|
coreutils = find_program('ls', native : true)
|
||||||
|
else
|
||||||
coreutils = find_program('coreutils', native : true)
|
coreutils = find_program('coreutils', native : true)
|
||||||
|
endif
|
||||||
dot = find_program('dot', native : true, required : false)
|
dot = find_program('dot', native : true, required : false)
|
||||||
|
|
||||||
nix_bin_dir = fs.parent(nix.full_path())
|
nix_bin_dir = fs.parent(nix.full_path())
|
||||||
|
|
Loading…
Reference in a new issue