diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2008-01-18 12:36:56 +0000 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2008-01-18 12:36:56 +0000 |
commit | bc46eaf4047f4cfd3152f3748f114b8743ed4faf (patch) | |
tree | 4ba6055a35af6b96427cd5b2186108f8a3551d9c /pkgs/os-specific/linux/kqemu | |
parent | a5e0e39cdb575a38216a2a0e9ee25eae5bb05397 (diff) | |
download | nixlib-bc46eaf4047f4cfd3152f3748f114b8743ed4faf.tar nixlib-bc46eaf4047f4cfd3152f3748f114b8743ed4faf.tar.gz nixlib-bc46eaf4047f4cfd3152f3748f114b8743ed4faf.tar.bz2 nixlib-bc46eaf4047f4cfd3152f3748f114b8743ed4faf.tar.lz nixlib-bc46eaf4047f4cfd3152f3748f114b8743ed4faf.tar.xz nixlib-bc46eaf4047f4cfd3152f3748f114b8743ed4faf.tar.zst nixlib-bc46eaf4047f4cfd3152f3748f114b8743ed4faf.zip |
Some review of builder-defs and dependent files. No rebuild needed. Now it should be possible to override elements in builderDefs
svn path=/nixpkgs/trunk/; revision=10214
Diffstat (limited to 'pkgs/os-specific/linux/kqemu')
-rw-r--r-- | pkgs/os-specific/linux/kqemu/1.3.0pre11.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/os-specific/linux/kqemu/1.3.0pre11.nix b/pkgs/os-specific/linux/kqemu/1.3.0pre11.nix index 3aa2731ac3fb..cb3aa90444c1 100644 --- a/pkgs/os-specific/linux/kqemu/1.3.0pre11.nix +++ b/pkgs/os-specific/linux/kqemu/1.3.0pre11.nix @@ -1,5 +1,5 @@ args : with args; - with builderDefs { + let localDefs = builderDefs { src = /* put a fetchurl here */ fetchurl { url = http://fabrice.bellard.free.fr/qemu/kqemu-1.3.0pre11.tar.gz; @@ -8,6 +8,7 @@ args : with args; buildInputs = []; configureFlags = [''--prefix=$out'' ''--kernel-path=$(ls -d ${kernel}/lib/modules/*/build)'']; } null; /* null is a terminator for sumArgs */ + in with localDefs; let debugStep = FullDepEntry ('' cat config-host.mak @@ -21,7 +22,7 @@ in stdenv.mkDerivation rec { name = "kqemu-"+version; builder = writeScript (name + "-builder") - (textClosure [preConfigure doConfigure debugStep doMakeInstall doForceShare doPropagate]); + (textClosure localDefs [preConfigure doConfigure debugStep doMakeInstall doForceShare doPropagate]); meta = { description = " Kernel module for Qemu acceleration |