Use Nix Super on Hydra
This commit is contained in:
parent
aef44bebf7
commit
ae947191c5
3 changed files with 8 additions and 6 deletions
|
@ -1,6 +1,7 @@
|
||||||
{ pkgs, lib, config, ... }:
|
{ pkgs, lib, config, inputs, ... }:
|
||||||
{
|
{
|
||||||
nixpkgs.overlays = [
|
nixpkgs.overlays = [
|
||||||
|
(self: super: { flakePackages = inputs.self.packages.${pkgs.system}; })
|
||||||
(self: super:
|
(self: super:
|
||||||
(let
|
(let
|
||||||
patched = import ../../packages/patched-derivations.nix super;
|
patched = import ../../packages/patched-derivations.nix super;
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
{ pkgs, inputs }@args:
|
{ pkgs, inputs }@args:
|
||||||
let
|
let
|
||||||
patched-derivations = import ./patched-derivations.nix pkgs;
|
patched-derivations = import ./patched-derivations.nix (pkgs // { flakePackages = all; });
|
||||||
patched-inputs = import ./patched-inputs.nix args;
|
patched-inputs = import ./patched-inputs.nix args;
|
||||||
packages = import ./packages.nix args;
|
packages = import ./packages.nix args;
|
||||||
in patched-derivations
|
all = patched-derivations
|
||||||
// patched-inputs
|
// patched-inputs
|
||||||
// packages
|
// packages;
|
||||||
|
in all
|
||||||
|
|
|
@ -8,7 +8,7 @@ super: rec {
|
||||||
kerberized-dnsutils = kerberized-bind.dnsutils;
|
kerberized-dnsutils = kerberized-bind.dnsutils;
|
||||||
kerberized-dig = kerberized-bind.dnsutils;
|
kerberized-dig = kerberized-bind.dnsutils;
|
||||||
|
|
||||||
hydra = patch super.hydra-unstable "patches/base/hydra";
|
hydra = (patch super.hydra-unstable "patches/base/hydra").override { nix = super.flakePackages.nix-super; };
|
||||||
|
|
||||||
lain-ipfs = patch-rename super.ipfs "lain-ipfs" "patches/base/ipfs";
|
lain-ipfs = patch-rename super.ipfs "lain-ipfs" "patches/base/ipfs";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue