fix(npins): Update the version used
All checks were successful
build configuration / build_web02 (push) Successful in 3m54s
build configuration / build_storage01 (push) Successful in 3m57s
build configuration / build_compute01 (push) Successful in 4m2s
build configuration / build_vault01 (push) Successful in 4m1s
build configuration / build_rescue01 (push) Successful in 4m3s
lint / check (push) Successful in 23s
build configuration / build_web01 (push) Successful in 4m22s
build configuration / push_to_cache (push) Successful in 3m24s

This commit is contained in:
Tom Hubrecht 2024-07-11 10:33:01 +02:00
parent 680682f520
commit a43e10d77d
Signed by: thubrecht
SSH key fingerprint: SHA256:r+nK/SIcWlJ0zFZJGHtlAoRwq1Rm+WcKAm5ADYMoQPc
2 changed files with 18 additions and 21 deletions

View file

@ -34,10 +34,13 @@
termes. termes.
*/ */
let {
sources = import ./npins; sources ? import ./npins,
pkgs = import sources.nixpkgs { }; pkgs ? import sources.nixpkgs { },
nix-pkgs ? import sources.nix-pkgs { inherit pkgs; },
}:
let
pre-commit-check = (import sources.pre-commit-hooks).run { pre-commit-check = (import sources.pre-commit-hooks).run {
src = ./.; src = ./.;
@ -70,23 +73,17 @@ in
default = pkgs.mkShell { default = pkgs.mkShell {
name = "dgnum-infra"; name = "dgnum-infra";
packages = packages = [
( (pkgs.nixos-generators.overrideAttrs (_: {
with pkgs; version = "1.8.0-unstable";
[ src = builtins.storePath sources.nixos-generators;
npins }))
(nixos-generators.overrideAttrs (_: { pkgs.attic-client
version = "1.8.0-unstable"; nix-pkgs.npins
src = builtins.storePath sources.nixos-generators;
})) (pkgs.callPackage (sources.disko + "/package.nix") { })
attic-client (pkgs.callPackage ./lib/colmena { inherit (nix-pkgs) colmena; })
] ] ++ (import ./scripts { inherit pkgs; });
++ [
(callPackage (sources.disko + "/package.nix") { })
(callPackage ./lib/colmena { inherit (import sources.nix-pkgs { inherit pkgs; }) colmena; })
]
)
++ (import ./scripts { inherit pkgs; });
shellHook = '' shellHook = ''
${pre-commit-check.shellHook} ${pre-commit-check.shellHook}

View file

@ -1 +1 @@
(import ./.).shells.default (import ./. { }).shells.default