workflow: use overlays

This commit is contained in:
cy 2025-01-08 23:43:42 -05:00
parent 4858051772
commit 8658515be2
3 changed files with 12 additions and 6 deletions

View file

@ -9,13 +9,17 @@ jobs:
strategy:
matrix:
package:
- github:cything/attic/e91261dc9a22d267700ab9095155f5581ac3b06c#attic
- github:cything/attic/e91261dc9a22d267700ab9095155f5581ac3b06c#attic-server
- github:cything/attic/e91261dc9a22d267700ab9095155f5581ac3b06c#attic-client
- .#attic-client
- .#attic-server
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
with:
logger: pretty
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: cachix/cachix-action@v15

View file

@ -117,6 +117,8 @@
checks = forEachSystem (pkgs: {
formatting = treefmtEval.${pkgs.system}.config.build.check self;
});
# lets us build overlayed packages with `nix build .#<package>`
packages = pkgsFor;
nixosConfigurations =
let

View file

@ -10,11 +10,11 @@ final: prev: {
src = final.fetchFromGitHub {
owner = "cything";
repo = "attic";
rev = "3e0c381aa1b4f41234284b5491aa818c24af5983";
hash = "sha256-kw7zeQH+mg0bCTzfr6MqlqAHzYfPSlNj2Fk+lRqVO7A=";
rev = "e91261dc9a22d267700ab9095155f5581ac3b06c";
hash = "sha256-dIrCD0rLXlW1XsNiF50vTeHi1l4xHYh0m+aCdHNcMfU=";
};
cargoLock = null;
cargoHash = "sha256-0z7cFMMltJQt3zBQ0L+t8MLKPE+HtduWJnNXED7rEHc=";
cargoHash = "sha256-AbpWnYfBMrR6oOfy2LkQvIPYsClCWE89bJav+iHTtLM=";
useFetchCargoVendor = true;
}
);