git.iko.soy/typeable/nixpkgs
on master help sign in
Fix idrisPackages.with-packages

1. The ln step was failing due to a file already existing 2. gcc was invoked directly which caused failure on OS X.

commitb8a7c455f6e5eef0fe6d9d65701816cbf3662f57 authorMatthew Pickering <matthewtpickering@gmail.com> dateWed 25 Oct 2017, 21:59 (9 years ago) parent5c35db3
1 file changed+2−2
pkgs/development/idris-modules/with-packages.nix+2−2
pkgs/development/idris-modules/with-packages.nix+2−2
@@ -10,7 +10,7 @@
1010
1111 installIdrisLib () {
1212 if [ -d $1/lib/${idris.name} ]; then
13− ln -sv $1/lib/${idris.name}/* $out/lib/${idris.name}
13+ ln -fsv $1/lib/${idris.name}/* $out/lib/${idris.name}
1414 fi
1515 }
1616
@@ -34,7 +34,7 @@
3434 '';
3535
3636 buildPhase = ''
37− gcc -O3 -o idris idris.c
37+ $CC -O3 -o idris idris.c
3838 '';
3939
4040 installPhase = ''