Loading pkgs/development/haskell-modules/configuration-nix.nix +8 −0 Original line number Diff line number Diff line Loading @@ -1073,6 +1073,14 @@ self: super: builtins.intersectAttrs super { pkgs.nix-prefetch-docker ] }" '' # Prevent erroneous references to other libraries that use Paths_ modules # on aarch64-darwin. Note that references to the data outputs are not removed. + lib.optionalString (with pkgs.stdenv; hostPlatform.isDarwin && hostPlatform.isAarch64) '' remove-references-to -t "${self.shake.out}" "$out/bin/.nvfetcher-wrapped" remove-references-to -t "${self.js-jquery.out}" "$out/bin/.nvfetcher-wrapped" remove-references-to -t "${self.js-flot.out}" "$out/bin/.nvfetcher-wrapped" remove-references-to -t "${self.js-dgtable.out}" "$out/bin/.nvfetcher-wrapped" ''; }) super.nvfetcher); Loading Loading
pkgs/development/haskell-modules/configuration-nix.nix +8 −0 Original line number Diff line number Diff line Loading @@ -1073,6 +1073,14 @@ self: super: builtins.intersectAttrs super { pkgs.nix-prefetch-docker ] }" '' # Prevent erroneous references to other libraries that use Paths_ modules # on aarch64-darwin. Note that references to the data outputs are not removed. + lib.optionalString (with pkgs.stdenv; hostPlatform.isDarwin && hostPlatform.isAarch64) '' remove-references-to -t "${self.shake.out}" "$out/bin/.nvfetcher-wrapped" remove-references-to -t "${self.js-jquery.out}" "$out/bin/.nvfetcher-wrapped" remove-references-to -t "${self.js-flot.out}" "$out/bin/.nvfetcher-wrapped" remove-references-to -t "${self.js-dgtable.out}" "$out/bin/.nvfetcher-wrapped" ''; }) super.nvfetcher); Loading