fix ci?
This commit is contained in:
parent
4f6e76e4be
commit
459d67eb6d
2 changed files with 15 additions and 1 deletions
2
.github/workflows/nix.yml
vendored
2
.github/workflows/nix.yml
vendored
|
@ -11,4 +11,4 @@ jobs:
|
|||
with:
|
||||
name: nix-community
|
||||
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
|
||||
- run: ./deploy --build-only
|
||||
- run: nix-build
|
||||
|
|
14
default.nix
Normal file
14
default.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
# Add derivations to be built from the cache to this file
|
||||
{ system ? builtins.currentSystem }:
|
||||
let
|
||||
pkgs = import ./nix { inherit system; };
|
||||
|
||||
importNixOS = configuration: system:
|
||||
(import "${toString pkgs.path}/nixos") {
|
||||
inherit configuration system;
|
||||
};
|
||||
in
|
||||
pkgs.nix-community-infra // rec {
|
||||
build01 = importNixOS ./build01/configuration.nix "x86_64-linux";
|
||||
build01-system = build01.system;
|
||||
}
|
Loading…
Add table
Reference in a new issue