Skip to content

Shell scripts should use #!/usr/bin/env bash and flake.nix should add all needed tools to development shell - #130

Merged
ameba23 merged 2 commits into
mainfrom
peg/nixos-friendly-flake
Apr 14, 2026
Merged

Shell scripts should use #!/usr/bin/env bash and flake.nix should add all needed tools to development shell#130
ameba23 merged 2 commits into
mainfrom
peg/nixos-friendly-flake

Conversation

@ameba23

@ameba23 ameba23 commented Apr 13, 2026

Copy link
Copy Markdown
Contributor

This PR has some changes i needed to get this to build locally on nixos without lima.

The shell scripts in this repo assume bash is located at /bin/bash which isn't always the case. This PR switches them to use /usr/bin/env bash which is more universal.

This also adds some basic tools to the flake.nix developer shell which are needed by the build: bash, curl, git and jq.

@ameba23
ameba23 requested a review from alexhulbert April 13, 2026 12:10

@alexhulbert alexhulbert left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@ameba23
ameba23 merged commit eb1610a into main Apr 14, 2026
@ameba23
ameba23 deleted the peg/nixos-friendly-flake branch April 14, 2026 06:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants