mirror of
https://github.com/urbit/shrub.git
synced 2024-11-27 18:34:48 +03:00
Fixed Nix build errors on Bernardo's Ubuntu. (#1220)
This commit is contained in:
parent
89e789aadb
commit
4024cdb739
7
Makefile
7
Makefile
@ -2,12 +2,13 @@ PKGS = minima extrema rusthello prog
|
||||
|
||||
################################################################################
|
||||
|
||||
.PHONY: build all install release test clean
|
||||
.PHONY: build build-all install release test clean
|
||||
|
||||
build:
|
||||
nix-build --no-out-link
|
||||
nix-build -A urbit -A urb --no-out-link
|
||||
|
||||
all: build release test
|
||||
build-all:
|
||||
nix-build --no-out-link
|
||||
|
||||
install:
|
||||
nix-env -f . -iA urbit -iA urbit-debug -iA urb
|
||||
|
@ -5,7 +5,7 @@ chmod -R u+w ./src
|
||||
cd src
|
||||
|
||||
libtoolize
|
||||
./autogen.sh
|
||||
./configure --prefix=$out --host=$host $configureFlags
|
||||
bash ./autogen.sh
|
||||
bash ./configure --prefix=$out --host=$host $configureFlags
|
||||
make
|
||||
make install
|
||||
|
@ -5,5 +5,5 @@ chmod -R a+w ./src
|
||||
cd ./src
|
||||
|
||||
LIBTOOLIZE=libtoolize ./autogen.sh
|
||||
./configure --prefix=$out --host=$host $configureFlags
|
||||
bash ./configure --prefix=$out --host=$host $configureFlags
|
||||
make install
|
||||
|
@ -1,3 +1,4 @@
|
||||
source $stdenv/setup
|
||||
|
||||
cp -r $src $out
|
||||
cp -r $src/ $out
|
||||
chmod -R u+w $out
|
||||
|
@ -4,5 +4,5 @@ cp -r $src ./src
|
||||
chmod -R u+w ./src
|
||||
cd ./src
|
||||
|
||||
./configure
|
||||
bash ./configure
|
||||
PREFIX=$out make install
|
||||
|
@ -4,7 +4,7 @@ cp -r $src ./src
|
||||
chmod -R u+w ./src
|
||||
cd src
|
||||
|
||||
./configure
|
||||
bash ./configure
|
||||
|
||||
make urbit urbit-worker -j8
|
||||
|
||||
|
@ -12,7 +12,7 @@ done
|
||||
CC=$host-gcc \
|
||||
PKG_CONFIG=pkg-config-cross \
|
||||
HOST=$host \
|
||||
./configure
|
||||
bash ./configure
|
||||
|
||||
make urbit urbit-worker -j8
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user