diff options
author | Bobby Rong <rjl931189261@126.com> | 2021-12-28 13:22:17 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-28 13:22:17 +0800 |
commit | 9b1f828a8d31ad1e562d1b270d80cbc105737f71 (patch) | |
tree | 8a64111722bfd45e5cac2f8c2fdcff0455389972 /pkgs/tools | |
parent | 5b283f33fe39734ac3281e6091a06dc5c64f53df (diff) | |
parent | 3d39c9e9312565ebf68d860031cca2360411d6ed (diff) |
Merge pull request #152347 from mikroskeem/cdrtools-darwin-aarch64
cdrtools: fix aarch64-darwin build
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/cd-dvd/cdrtools/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/tools/cd-dvd/cdrtools/default.nix b/pkgs/tools/cd-dvd/cdrtools/default.nix index bca1a1c689c3..f49826b99bfa 100644 --- a/pkgs/tools/cd-dvd/cdrtools/default.nix +++ b/pkgs/tools/cd-dvd/cdrtools/default.nix @@ -16,6 +16,10 @@ stdenv.mkDerivation rec { sed "/\.mk3/d" -i libschily/Targets.man substituteInPlace man/Makefile --replace "man4" "" substituteInPlace RULES/rules.prg --replace "/bin/" "" + '' + lib.optionalString (stdenv.isDarwin && stdenv.isAarch64) '' + ln -sv i386-darwin-clang64.rul RULES/arm64-darwin-cc.rul + ln -sv i386-darwin-clang64.rul RULES/arm64-darwin-clang.rul + ln -sv i386-darwin-clang64.rul RULES/arm64-darwin-clang64.rul ''; dontConfigure = true; |