* Finally got stdenv-nix-linux working again. Still not perfect,
though. * libxml2: upgrade to latest. * octavefront/rna: keep debug info. svn path=/nixpkgs/trunk/; revision=830
This commit is contained in:
@@ -1,10 +1,15 @@
|
||||
#! /bin/sh
|
||||
|
||||
set -x
|
||||
|
||||
export NIX_DEBUG=1
|
||||
|
||||
. $stdenv/setup
|
||||
|
||||
export NIX_ENFORCE_PURITY=1
|
||||
#echo starting shell
|
||||
#/bin/sh < /dev/tty > /dev/tty 2>&1
|
||||
|
||||
#exit 1
|
||||
|
||||
mkdir $out
|
||||
mkdir $out/bin
|
||||
@@ -24,8 +29,6 @@ gcc -L /nix/store/abcd/lib -isystem /usr/lib hello.c -o $out/bin/hello
|
||||
|
||||
$out/bin/hello
|
||||
|
||||
exit 0
|
||||
|
||||
cat > hello2.cc <<EOF
|
||||
#include <iostream>
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ let {
|
||||
allPackages = import ../../system/all-packages-generic.nix;
|
||||
};
|
||||
|
||||
stdenv = stdenvs.stdenvLinuxBoot1;
|
||||
stdenv = stdenvs.stdenvLinuxBoot2;
|
||||
|
||||
test = derivation {
|
||||
name = "simple-test";
|
||||
|
||||
Reference in New Issue
Block a user