mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
guile-2-test: Next attempt at overriding `guile'.
svn path=/nixpkgs/trunk/; revision=17330
This commit is contained in:
parent
0ba0fefa95
commit
a41355339a
@ -6,8 +6,14 @@
|
|||||||
let
|
let
|
||||||
allPackages = import ./all-packages.nix;
|
allPackages = import ./all-packages.nix;
|
||||||
|
|
||||||
pkgsFun = {system ? builtins.currentSystem}: let orig = (allPackages {inherit system;}); in
|
pkgsFun = { system ? builtins.currentSystem }:
|
||||||
orig // { __overrides = { guile = orig.guile_1_9; }; };
|
allPackages {
|
||||||
|
inherit system;
|
||||||
|
config.packageOverrides = pkgs: {
|
||||||
|
guile = pkgs.guile_1_9;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
pkgs = pkgsFun {};
|
pkgs = pkgsFun {};
|
||||||
|
|
||||||
toJob = x: if builtins.isAttrs x then x else
|
toJob = x: if builtins.isAttrs x then x else
|
||||||
|
Loading…
Reference in New Issue
Block a user