Skip to content

fix: nixos specific no such file or directory#172

Merged
siduck merged 1 commit intosiduck:mainfrom
orhnk:fix/nixos-no-such-file
Nov 15, 2023
Merged

fix: nixos specific no such file or directory#172
siduck merged 1 commit intosiduck:mainfrom
orhnk:fix/nixos-no-such-file

Conversation

@orhnk
Copy link
Contributor

@orhnk orhnk commented Nov 14, 2023

I was getting no such file or directory errors in NixOS.

It turns out that the shebang was causing this error.

To address this problem, this PR explicitly tells the OS to execute the script using dash

Note

this will make it easier to spot people who did not install dash and complaining about the bar is not working

@siduck siduck merged commit 347f3ef into siduck:main Nov 15, 2023
@MinePro120
Copy link
Contributor

MinePro120 commented Sep 1, 2024

I'd like to propose a different fix for this: change the shebang to #!/usr/bin/env dash and tell me if the issue persists @orhnk.

@MinePro120
Copy link
Contributor

MinePro120 commented Sep 29, 2024

Test #196 please @orhnk.

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.

3 participants