* Improved Nix. Resources (package descriptors and other source
files) are now referenced using their cryptographic hashes. This ensures that if two package descriptors have the same contents, then they describe the same package. This property is not as trivial as it sounds: generally import relations cause this property not to hold w.r.t. temporality. But since imports also use hashes to reference other packages, equality follows by induction. svn path=/nix/trunk/pkg/; revision=5
This commit is contained in:
commit
2766a4b44e
13
pkg/aterm-2.0-build.sh
Executable file
13
pkg/aterm-2.0-build.sh
Executable file
@ -0,0 +1,13 @@
|
||||
#! /bin/sh
|
||||
|
||||
export PATH=$utils/bin
|
||||
export LIBRARY_PATH=$glibc/lib
|
||||
export CC=$gcc/bin/gcc
|
||||
export CFLAGS="-isystem $glibc/include -isystem $kernel/include"
|
||||
|
||||
top=`pwd`
|
||||
tar xvfz $src
|
||||
cd aterm-2.0
|
||||
./configure --prefix=$top
|
||||
make
|
||||
make install
|
11
pkg/aterm-2.0.nix
Normal file
11
pkg/aterm-2.0.nix
Normal file
@ -0,0 +1,11 @@
|
||||
# Dependencies.
|
||||
utils <- 5703121fe19cbeeaee7edd659cf4a25b # prog-bootstrap
|
||||
gcc <- 02212b3dc4e50349376975367d433929 # gcc-bootstrap
|
||||
glibc <- c0ce03ee0bab298babbe7e3b6159d36c # glibc-bootstrap
|
||||
kernel <- 3dc8333a2c2b4d627b892755417acf89 # kernel-bootstrap
|
||||
|
||||
# Original sources.
|
||||
src = 853474e4bcf4a85f7d38a0676b36bded # aterm-2.0.tar.gz
|
||||
|
||||
# Build script.
|
||||
build = ee7ae4ade69f846d2385871bf532ef7e # aterm-2.0-build.sh
|
Loading…
Reference in New Issue
Block a user