tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
picosat: fix ar and ranlib usage for cross
Will Dietz
8 years ago
4c767417
36b27069
+4
1 changed file
expand all
collapse all
unified
split
pkgs
applications
science
logic
picosat
default.nix
+4
pkgs/applications/science/logic/picosat/default.nix
···
11
12
prePatch = ''
13
substituteInPlace picosat.c --replace "sys/unistd.h" "unistd.h"
0
0
0
0
14
'';
15
16
configurePhase = "./configure.sh --shared --trace";
···
11
12
prePatch = ''
13
substituteInPlace picosat.c --replace "sys/unistd.h" "unistd.h"
14
+
15
+
substituteInPlace makefile.in \
16
+
--replace 'ar rc' '$(AR) rc' \
17
+
--replace 'ranlib' '$(RANLIB)'
18
'';
19
20
configurePhase = "./configure.sh --shared --trace";