diff --git a/builder.sh b/builder.sh index 5c2e81e..1573081 100755 --- a/builder.sh +++ b/builder.sh @@ -1,3 +1,3 @@ export PATH="$coreutils/bin" mkdir $out -cp *\.{png,webp} $out +cp $src/*\.{png,webp} $out diff --git a/flake.nix b/flake.nix index a9556db..50d1c38 100644 --- a/flake.nix +++ b/flake.nix @@ -21,6 +21,7 @@ name = "backgrounds"; builder = "${pkgs.bash}/bin/bash"; args = [ ./builder.sh ]; + src = ./.; }; }); };