forked from fediversity/fediversity
move nixops4 to overlay
This commit is contained in:
parent
33bc802c21
commit
c532076bc0
2 changed files with 14 additions and 14 deletions
|
@ -2,7 +2,6 @@
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
inputs,
|
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
|
@ -148,19 +147,7 @@ in
|
||||||
NixOps4 from the package's npins-based code, we will have to do with
|
NixOps4 from the package's npins-based code, we will have to do with
|
||||||
this workaround.
|
this workaround.
|
||||||
'';
|
'';
|
||||||
default =
|
default = pkgs.nixops4;
|
||||||
let
|
|
||||||
sources = import ../../npins;
|
|
||||||
inherit (import sources.flake-inputs) import-flake load-flake;
|
|
||||||
inherit
|
|
||||||
(import-flake {
|
|
||||||
src = ../../.;
|
|
||||||
})
|
|
||||||
inputs
|
|
||||||
;
|
|
||||||
inherit (inputs) nixops4;
|
|
||||||
in
|
|
||||||
(load-flake nixops4).packages.${pkgs.system}.default;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
deployment = {
|
deployment = {
|
||||||
|
|
|
@ -8,4 +8,17 @@ let
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
python3 = prev.lib.attrsets.recursiveUpdate prev.python3 { pkgs = extraPython3Packages; };
|
python3 = prev.lib.attrsets.recursiveUpdate prev.python3 { pkgs = extraPython3Packages; };
|
||||||
|
nixops4 =
|
||||||
|
let
|
||||||
|
sources = import ../../npins;
|
||||||
|
inherit (import sources.flake-inputs) import-flake load-flake;
|
||||||
|
inherit
|
||||||
|
(import-flake {
|
||||||
|
src = ../../.;
|
||||||
|
})
|
||||||
|
inputs
|
||||||
|
;
|
||||||
|
inherit (inputs) nixops4;
|
||||||
|
in
|
||||||
|
(load-flake nixops4).packages.${prev.system}.default;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue