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

How to use/build packages in non-flake nix #1

Open
jhollowe opened this issue Aug 10, 2024 · 1 comment
Open

How to use/build packages in non-flake nix #1

jhollowe opened this issue Aug 10, 2024 · 1 comment

Comments

@jhollowe
Copy link

Thanks for these packages.

I've been trying to test out these packages, but can't figure out how to build any of them.
How can I build/use these packages without flakes and without being on NixOS?

/workspaces $ cd nix-system/
/workspaces/nix-system (master) $ nix-build -A enroot
error: the expression selected by the selection path 'enroot' should be a set but is a function
@markuskowa
Copy link
Owner

You can use release.nix, which exposes the packages

nix-build release.nix -A enroot

default.nix exposes an overlay. This can be used to combine the package set with nixpkgs.

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

No branches or pull requests

2 participants