mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 19:33:03 +00:00
Fix evaluation on non-Linux platforms
This commit is contained in:
parent
efbca84265
commit
1fffc94956
@ -2,7 +2,7 @@
|
||||
|
||||
let
|
||||
|
||||
libc = stdenv.gcc.libc or "/usr";
|
||||
libc = if stdenv.gcc.libc or null != null then stdenv.gcc.libc else "/usr";
|
||||
|
||||
in
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user