nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

rure: fix darwin dylib names

This hasn't been an issue on x86_64, but running it anyways shouldn't
hurt. aarch64-darwin's trouble could be due to codesigning? Besides that
there don't seem to be many differences between the actual derivations.

This also unbreaks the test suite of regex-rure.

+5 -5
-5
pkgs/development/haskell-modules/configuration-darwin.nix
··· 318 318 # https://github.com/NixOS/nixpkgs/issues/149692 319 319 Agda = removeConfigureFlag "-foptimise-heavily" super.Agda; 320 320 321 - # regex-rure's test suite fails with a dylib not loaded error due to some 322 - # rpath issue. 323 - regex-rure = dontDistribute (markBroken super.regex-rure); 324 - jacinda = dontDistribute super.jacinda; 325 - 326 321 } // lib.optionalAttrs pkgs.stdenv.isx86_64 { # x86_64-darwin 327 322 328 323 # tests appear to be failing to link or something:
+5
pkgs/development/libraries/rure/default.nix
··· 2 2 , stdenv 3 3 , rustPlatform 4 4 , fetchCrate 5 + , fixDarwinDylibNames 5 6 }: 6 7 7 8 let ··· 27 26 postInstall = '' 28 27 install -Dm644 include/rure.h -t "$dev/include" 29 28 ''; 29 + 30 + nativeBuildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ 31 + fixDarwinDylibNames 32 + ]; 30 33 31 34 passthru.updateScript = ./update.sh; 32 35