mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-18 02:05:51 +03:00
harmonia: fix build on darwin
This commit is contained in:
parent
30cd89625c
commit
6b3932ed4a
@ -5,6 +5,7 @@
|
||||
, nixVersions
|
||||
, pkg-config
|
||||
, rustPlatform
|
||||
, stdenv
|
||||
, nix-update-script
|
||||
, nixosTests
|
||||
}:
|
||||
@ -32,6 +33,11 @@ rustPlatform.buildRustPackage rec {
|
||||
nixVersions.nix_2_19
|
||||
];
|
||||
|
||||
# Workaround for https://github.com/NixOS/nixpkgs/issues/166205
|
||||
env = lib.optionalAttrs stdenv.cc.isClang {
|
||||
NIX_LDFLAGS = "-l${stdenv.cc.libcxx.cxxabi.libName}";
|
||||
};
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script {
|
||||
extraArgs = [ "--version-regex" "harmonia-v(.*)" ];
|
||||
|
Loading…
Reference in New Issue
Block a user