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

Add nix development files #2188

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Tom-Hubrecht
Copy link

When using nix, it allows running nix-shell to add the required dependencies to the current environment

@fredrik-johansson
Copy link
Collaborator

Not really happy with having more environment-specific tools in the root directory. Could this go in dev/?

When using nix, it allows running `nix-shell dev/nix/shell.nix` to add the required
dependencies to the current environment.

Furthermore, a specific compiler can be requested, e.g.
nix-shell dev/nix/shell.nix -A gcc10 will setup the environment
with cc = gcc10.

The available compilers are for now clang, gcc9 through gcc14.
@@ -0,0 +1,80 @@
# Generated by npins. Do not modify; will be overwritten regularly
Copy link
Member

Choose a reason for hiding this comment

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

If this is generated it should not be part of the source tree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants