Skip to content

nix-shell support and fix shebangs#656

Merged
softwarefactory-project-zuul[bot] merged 5 commits intopackit:mainfrom
mfocko:chore/nixpkg-direnv-support
Jul 14, 2025
Merged

nix-shell support and fix shebangs#656
softwarefactory-project-zuul[bot] merged 5 commits intopackit:mainfrom
mfocko:chore/nixpkg-direnv-support

Conversation

@mfocko
Copy link
Copy Markdown
Member

@mfocko mfocko commented May 9, 2025

Related to packit/private#46

@mfocko mfocko self-assigned this May 9, 2025
@mfocko mfocko moved this from new to in-review in Packit Kanban Board May 9, 2025
@mfocko mfocko force-pushed the chore/nixpkg-direnv-support branch from 21f58bf to 7ca7e9b Compare May 9, 2025 13:26
@softwarefactory-project-zuul
Copy link
Copy Markdown
Contributor

@mfocko mfocko force-pushed the chore/nixpkg-direnv-support branch from 7ca7e9b to 7c3f1ea Compare May 9, 2025 13:52
@softwarefactory-project-zuul
Copy link
Copy Markdown
Contributor

@mfocko mfocko force-pushed the chore/nixpkg-direnv-support branch from 7c3f1ea to f0ba510 Compare May 28, 2025 13:17
@softwarefactory-project-zuul
Copy link
Copy Markdown
Contributor

@lbarcziova
Copy link
Copy Markdown
Member

could you please provide a bit more context for nix-shell support in the commit message? Personally I am not familiar with the setup, so might be useful also for others.

mfocko added 2 commits July 14, 2025 12:20
Signed-off-by: Matej Focko <mfocko@packit.dev>
When specifying `bash` in the shebang, do not assume that it is present
in the `/usr/bin`.

Even better way would be `/bin/sh` that is guaranteed to be a symlink to
POSIX-compatible shell, but I haven't checked the scripts whether they
are POSIX-comaptible themselves.

Signed-off-by: Matej Focko <mfocko@packit.dev>
@mfocko mfocko force-pushed the chore/nixpkg-direnv-support branch from f0ba510 to e156929 Compare July 14, 2025 10:25
@softwarefactory-project-zuul
Copy link
Copy Markdown
Contributor

Signed-off-by: Matej Focko <mfocko@packit.dev>
@softwarefactory-project-zuul
Copy link
Copy Markdown
Contributor

Copy link
Copy Markdown
Member

@majamassarini majamassarini left a comment

Choose a reason for hiding this comment

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

LGTM

Feel free to ignore my suggestion (your point 3. already says how the environment is loaded).

Co-authored-by: Maja Massarini <2678400+majamassarini@users.noreply.github.com>
@softwarefactory-project-zuul
Copy link
Copy Markdown
Contributor

@mfocko mfocko added the mergeit Merge via Zuul label Jul 14, 2025
@softwarefactory-project-zuul
Copy link
Copy Markdown
Contributor

Build succeeded (gate pipeline).
https://softwarefactory-project.io/zuul/t/packit-service/buildset/1a6e06bdd910409994d0262d9a7492dd

✔️ pre-commit SUCCESS in 1m 35s

@softwarefactory-project-zuul softwarefactory-project-zuul bot merged commit 3cd7c2b into packit:main Jul 14, 2025
4 checks passed
@github-project-automation github-project-automation bot moved this from in-review to done in Packit Kanban Board Jul 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mergeit Merge via Zuul

Projects

No open projects
Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants