Fix template flake checks by removing package builds without source files #207
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Templates failed
nix flake checkon macOS because they defined packages that tried to build from non-existent source files.Changes
Commented out example package definitions:
csharp-shell:buildDotnetModulereferencing missingsrc/MyApp.csprojanddeps.jsongo-shell:buildGoModulewithsrc = self(no Go sources in template)zig-shell:mkDerivationwithsrc = self(no Zig sources in template)ocaml-shell: ThreebuildDunePackagedefinitions withsrc = ./.(no OCaml sources)Added minimal
composer.jsontolaravel-shell:buildPhpFromComposer { src = inputs.self; ... }Templates remain fully functional as development environments. Users can uncomment package definitions when they have actual project source files.
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/repos/numtide/flake-utils/commits/HEAD/nix/var/nix/profiles/default/bin/nix nix flake metadata(http block)/nix/var/nix/profiles/default/bin/nix nix flake metadata owner --uid-owner 0 -j ACCEPT(http block)https://api.github.com/repos/numtide/flake-utils/tarball/11707dc2f618dd54ca8739b309ec4fc024de578b/nix/var/nix/profiles/default/bin/nix nix flake check(http block)https://api.github.com/repos/numtide/treefmt-nix/tarball/dec15f37015ac2e774c84d0952d57fcdf169b54d/nix/var/nix/profiles/default/bin/nix nix fmt -- templates/csharp-shell/flake.nix templates/go-shell/flake.nix templates/zig-shell/flake.nix templates/ocaml-shell/flake.nix templates/laravel-shell/flake.nix templates/laravel-shell/composer.json(http block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.