mirror of
https://github.com/TECHNOFAB11/kubenix.git
synced 2025-12-11 23:50:06 +01:00
fix CI
This commit is contained in:
parent
164beed30d
commit
e0d7a66cdc
2 changed files with 13 additions and 9 deletions
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
16
flake.nix
16
flake.nix
|
|
@ -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 =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue