overlays: add convenience file for builds

This commit is contained in:
Antoine Martin 2021-02-06 00:49:53 +01:00
parent 16ac9ae637
commit dddce20c7f
2 changed files with 9 additions and 1 deletions

View file

@ -18,4 +18,4 @@ jobs:
with: with:
name: alarsyo name: alarsyo
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix-build -E 'let pkgs = import <nixpkgs> { overlays = import ./overlays; }; in with pkgs; [ bitwarden_rs-postgresql bitwarden_rs-vault ]' - run: nix-build ./overlays/build-me.nix

8
overlays/build-me.nix Normal file
View file

@ -0,0 +1,8 @@
# File used in GitHub workflow to build my overlays
let
pkgs = import <nixpkgs> { overlays = import ./.; };
in
with pkgs; [
bitwarden_rs-postgresql
bitwarden_rs-vault
]