Make super available in all-*.nix for override* use

This commit is contained in:
Tyson Whitehead
2018-01-23 23:37:03 -05:00
parent 39f4271d28
commit 1d156fc470
3 changed files with 12 additions and 3 deletions

View File

@@ -86,7 +86,7 @@ let
# This matches what is done in nixpkgs (see pkgs/top-level/stage.nix).
#
knot = path: self: super:
let res = import path res self; in res;
let res = import path res super self; in res;
in
map knot [
./temporary/all-temporary.nix

View File

@@ -1,4 +1,8 @@
self: pkgs: with pkgs; {
# self - next package set (after our additions)
# super - prior package set (before our additions)
# pkgs - final package set (after everyone's additions)
#
self: super: pkgs: with pkgs; {
cryptominisat = callPackage ./cryptominisat.nix { };

View File

@@ -1,5 +1,10 @@
# Temporary stuff (e.g., upstream bug fixes that haven't landed)
#
# self - next package set (after our additions)
# super - prior package set (before our additions)
# pkgs - final package set (after everyone's additions)
#
self: pkgs: with pkgs; {
self: super: pkgs: with pkgs; {
}