-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Nix Flake to run with Nix #38
base: nix
Are you sure you want to change the base?
Conversation
Changed + merged 🎉 @OhMyMndy Would it be possible to move nix-related files into a subfolder ? |
I don't think that is possible, at least it isn't as bad as having a Javascript project which has 20 different config files in the root directory of your project. Thanks for merging! |
Damn, I am such an idiot, had the command in the README wrong, but correct in my first comment in this PR |
ni biggie I'll update to
Also, the use of |
|
||
# extraction + warning by charleywright, see: https://github.com/yne/dzr/issues/11 | ||
unscramble(){ printf "${8}${16}${7}${15}${6}${14}${5}${13}${4}${12}${3}${11}${2}${10}${1}${9}";} | ||
unscramble(){ printf "%s" "${8}${16}${7}${15}${6}${14}${5}${13}${4}${12}${3}${11}${2}${10}${1}${9}";} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we need the \ddd
tranform
@@ -1,5 +1,7 @@ | |||
#!/bin/sh | |||
|
|||
BINARY_NAME="$(basename "$0")" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this break usage form folder
./cgi-bin/dzr /track/117581954
xargs: dzr-url: No such file or directory
@OhMyMndy |
I'm rewinding master since it does not work on my NixOS install (only |
@OhMyMndy any chance to get this working ? |
@yne I'll give this another go this weekend! |
Hello!
Thanks for this awesome project!
I created a Nix Flake, so you can run
dzr
with one command. All the dependencies are included in the Flake and locked to a specific version.To update the dependencies
nix flake update
can be run and theflake.lock
file will be updated in place with the latest packages fromnixpkgs-unstable
.To develop with Nix, just clone the repo and run
nix run
in the directory to run the local version of./dzr
! Passing arguments can be done as suchnix run . -- /track/2317752015
or run the Flake directly:nix run github:OhMyMndy/dzr/1be7e5288d6c8b9226c2596a615225630ee7b848' -- /track/2317752015
for one of the last commits in this PR. You cannot link directly to a branch since that is not reproducible because you don't know when the upstream branch changes, the commit hash either exists, or it doesn't, always giving the same application and dependencies.