We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Introduce your stance
I want to build a nix package using docker/podman.
Describe the issue
The documentation at https://nixos.org/download/#nix-install-docker says:
$ git clone --depth=1 https://github.com/NixOS/nixpkgs.git $ docker run -it -v $(pwd)/nixpkgs:/nixpkgs nixos/nix docker> nix-build -I nixpkgs=/nixpkgs -A hello docker> find ./result # this symlink points to the build package
However, that results in:
bash-5.2# nix-build -I nixpkgs=/nixpkgs -A hello error: path '/default.nix' does not exist
I have no idea how to resolve this.
Page links
Additional context Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Introduce your stance
I want to build a nix package using docker/podman.
Describe the issue
The documentation at https://nixos.org/download/#nix-install-docker says:
However, that results in:
I have no idea how to resolve this.
Page links
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: