ci: automatically build all my packages

This commit is contained in:
Gabriel Fontes
2022-07-25 02:23:40 -03:00
parent bc75dfa042
commit d64d589211
2 changed files with 4 additions and 6 deletions
+3 -5
View File
@@ -18,11 +18,9 @@ tasks:
cachix use "$cachix"
- build: |
cd "$repo"
schemes=$(nix eval --raw .#generated-gtk-themes --apply 's: builtins.concatStringsSep "," (builtins.attrNames s)')
gtk_themes=$(eval echo .#generated-gtk-themes.{${schemes/override,overrideDerivation,}})
nix build .#{trekscii, clematis,minicava,pass-wofi,rgbdaemon,shellcolord,swayfader,deploy-rs.deploy-rs}
nix build $gtk_themes -o result-gtk-themes
my_packages=$(nix eval --raw --file ./pkgs --apply 'f: builtins.concatStringsSep "," (builtins.attrNames (f { } ))')
nix build .#$my_packages
nix build .#deploy-rs.deploy-rs
- upload_cachix: |
nix path-info "$repo"/result*/ -r | cachix push "$cachix"
+1 -1
View File
@@ -1,4 +1,4 @@
{ pkgs }: {
{ pkgs ? null }: {
# My wallpaper collection
wallpapers = pkgs.callPackage ./wallpapers { };