mirror of
https://github.com/Misterio77/Foundry.git
synced 2026-09-24 07:15:07 -05:00
ci: automatically build all my packages
This commit is contained in:
+3
-5
@@ -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
@@ -1,4 +1,4 @@
|
||||
{ pkgs }: {
|
||||
{ pkgs ? null }: {
|
||||
# My wallpaper collection
|
||||
wallpapers = pkgs.callPackage ./wallpapers { };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user