guile-2-test: Next attempt at overriding `guile'.

svn path=/nixpkgs/trunk/; revision=17330
This commit is contained in:
Ludovic Courtès 2009-09-21 12:24:04 +00:00
parent 0ba0fefa95
commit a41355339a

View File

@ -6,8 +6,14 @@
let
allPackages = import ./all-packages.nix;
pkgsFun = {system ? builtins.currentSystem}: let orig = (allPackages {inherit system;}); in
orig // { __overrides = { guile = orig.guile_1_9; }; };
pkgsFun = { system ? builtins.currentSystem }:
allPackages {
inherit system;
config.packageOverrides = pkgs: {
guile = pkgs.guile_1_9;
};
};
pkgs = pkgsFun {};
toJob = x: if builtins.isAttrs x then x else