This commit is contained in:
GTrunSec 2022-04-02 13:32:40 -07:00
parent 164beed30d
commit e0d7a66cdc
No known key found for this signature in database
GPG key ID: 2368FAFA4ABDD2A0
2 changed files with 13 additions and 9 deletions

View file

@ -6,10 +6,10 @@ jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- uses: cachix/install-nix-action@v13
- uses: actions/checkout@v2.4.0
- uses: cachix/install-nix-action@v16
with:
install_url: https://github.com/numtide/nix-flakes-installer/releases/download/nix-2.4pre20210429_d15a196/install
install_url: https://github.com/numtide/nix-unstable-installer/releases/download/nix-2.8.0pre20220311_d532269/install
extra_nix_config: experimental-features = nix-command flakes
- name: Run Nix Flake Check

View file

@ -14,10 +14,14 @@
} @ inputs:
(inputs.flake-utils.lib.eachDefaultSystem (
system: let
pkgs = inputs.nixpkgs.legacyPackages."${system}".appendOverlays [
self.overlay
inputs.devshell.overlay
];
pkgs = import inputs.nixpkgs {
overlays = [
self.overlays.default
inputs.devshell.overlay
];
config.allowUnsupportedSystem = true;
inherit system;
};
lib = pkgs.lib;
@ -57,7 +61,7 @@
jobs = import ./jobs {inherit pkgs;};
devShell = with pkgs;
devShells.default = with pkgs;
devshell.mkShell
{imports = [(devshell.importTOML ./devshell.toml)];};
@ -87,7 +91,7 @@
))
// {
nixosModules.kubenix = import ./modules;
overlay = final: prev: {
overlays.default = final: prev: {
kubenix.evalModules = self.evalModules.${prev.system};
# up to date versions of their nixpkgs equivalents
# kubernetes =