Skip to content

Add support for Nix develop through flakes#246

Open
pocalyps wants to merge 1 commit intopop-os:masterfrom
pocalyps:master
Open

Add support for Nix develop through flakes#246
pocalyps wants to merge 1 commit intopop-os:masterfrom
pocalyps:master

Conversation

@pocalyps
Copy link

For the unfamiliar, flake.nix is vaguely similar to what a Dockerfile would be: It describes packages, dependencies, environment variables required to build the project.

This flake.nix should be all that's required for someone who wants to build this project under Nix. Although I haven't tested it myself, I believe the flake should support most system configuration as it doesn't have hard coded values, but if there was such a problem, I'd be more than happy to help and fix those as they arise.

Here's how someone would use this flake to build cosmic-greeter:

cd cosmic-greeter
nix develop
cargo build

For the unfamiliar, flake.nix is vaguely similar to what a
Dockerfile would be: It describes packages, dependencies, environment
variables required to build the project.

This flake.nix should be all that's required for someone who wants to
build this project under Nix.
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