workflow: use overlays
This commit is contained in:
parent
4858051772
commit
8658515be2
3 changed files with 12 additions and 6 deletions
10
.github/workflows/build-and-cache.yml
vendored
10
.github/workflows/build-and-cache.yml
vendored
|
@ -9,13 +9,17 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
package:
|
package:
|
||||||
- github:cything/attic/e91261dc9a22d267700ab9095155f5581ac3b06c#attic
|
- .#attic-client
|
||||||
- github:cything/attic/e91261dc9a22d267700ab9095155f5581ac3b06c#attic-server
|
- .#attic-server
|
||||||
- github:cything/attic/e91261dc9a22d267700ab9095155f5581ac3b06c#attic-client
|
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- uses: DeterminateSystems/nix-installer-action@main
|
- uses: DeterminateSystems/nix-installer-action@main
|
||||||
|
with:
|
||||||
|
logger: pretty
|
||||||
|
|
||||||
- uses: DeterminateSystems/magic-nix-cache-action@main
|
- uses: DeterminateSystems/magic-nix-cache-action@main
|
||||||
|
|
||||||
- uses: cachix/cachix-action@v15
|
- uses: cachix/cachix-action@v15
|
||||||
|
|
|
@ -117,6 +117,8 @@
|
||||||
checks = forEachSystem (pkgs: {
|
checks = forEachSystem (pkgs: {
|
||||||
formatting = treefmtEval.${pkgs.system}.config.build.check self;
|
formatting = treefmtEval.${pkgs.system}.config.build.check self;
|
||||||
});
|
});
|
||||||
|
# lets us build overlayed packages with `nix build .#<package>`
|
||||||
|
packages = pkgsFor;
|
||||||
|
|
||||||
nixosConfigurations =
|
nixosConfigurations =
|
||||||
let
|
let
|
||||||
|
|
|
@ -10,11 +10,11 @@ final: prev: {
|
||||||
src = final.fetchFromGitHub {
|
src = final.fetchFromGitHub {
|
||||||
owner = "cything";
|
owner = "cything";
|
||||||
repo = "attic";
|
repo = "attic";
|
||||||
rev = "3e0c381aa1b4f41234284b5491aa818c24af5983";
|
rev = "e91261dc9a22d267700ab9095155f5581ac3b06c";
|
||||||
hash = "sha256-kw7zeQH+mg0bCTzfr6MqlqAHzYfPSlNj2Fk+lRqVO7A=";
|
hash = "sha256-dIrCD0rLXlW1XsNiF50vTeHi1l4xHYh0m+aCdHNcMfU=";
|
||||||
};
|
};
|
||||||
cargoLock = null;
|
cargoLock = null;
|
||||||
cargoHash = "sha256-0z7cFMMltJQt3zBQ0L+t8MLKPE+HtduWJnNXED7rEHc=";
|
cargoHash = "sha256-AbpWnYfBMrR6oOfy2LkQvIPYsClCWE89bJav+iHTtLM=";
|
||||||
useFetchCargoVendor = true;
|
useFetchCargoVendor = true;
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Reference in a new issue