Skip to content
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

WIP: Various nix improvements #1

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

hazelweakly
Copy link

Few small things:

  • The double single-quote syntax for multi-line strings is much more convenient than here docs and will automatically strip leading spaces correctly.
  • outPath is "technically more betterer" than just string interpolating the derivation, but meh.

Otherwise looks nice. Idiomatically, nix code is generally put into a nix directory with only a default.nix and/or a shell.nix file staying at the top level. I'll update the MR with pinning nixpkgs explicitly so that the code will be guaranteed to work regardless of you updating your OS. Especially with stuff like this that might not be touched for a year, you want that :p

@hazelweakly hazelweakly changed the title WIP: Varios nix improvements WIP: Various nix improvements Mar 17, 2020
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.

1 participant