mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-26 16:32:29 +03:00
Maybe we have to manually add CFLAGS like release.sh in urbit?
This commit is contained in:
parent
abdb1e234b
commit
c6bee9593c
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
env.make_derivation rec {
|
env.make_derivation rec {
|
||||||
name = "ge-additions";
|
name = "ge-additions";
|
||||||
builder = ./builder.sh;
|
builder = ./release.sh;
|
||||||
src = ../../../pkg/ge-additions;
|
src = ../../../pkg/ge-additions;
|
||||||
|
|
||||||
cross_inputs = [ deps.ed25519 ];
|
cross_inputs = [ deps.ed25519 ];
|
||||||
|
13
nix/pkgs/ge-additions/release.sh
Normal file
13
nix/pkgs/ge-additions/release.sh
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
source $stdenv/setup
|
||||||
|
|
||||||
|
cp -r $src ./src
|
||||||
|
chmod -R u+w ./src
|
||||||
|
cd ./src
|
||||||
|
|
||||||
|
for dep in $cross_inputs; do
|
||||||
|
export CFLAGS="${CFLAGS-} -I$dep/include"
|
||||||
|
export LDFLAGS="${LDFLAGS-} -L$dep/lib"
|
||||||
|
done
|
||||||
|
|
||||||
|
PREFIX=$out make install
|
||||||
|
|
Loading…
Reference in New Issue
Block a user