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
name
As the title says, I have a flake.nix:
flake.nix
{ inputs = { utils.url = "github:numtide/flake-utils"; naersk.url = "github:nix-community/naersk"; }; outputs = { self, naersk, nixpkgs, utils }: utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs { inherit system; }; naersk-lib = pkgs.callPackage naersk { }; in with pkgs; { packages.cherami-build = naersk-lib.buildPackage { # When `name = "cherami-build";` is commented out, # # root@b62e2017d34d:/workspaces/bitbop# ls $(nix build .#cherami-build --json | jq ".[].outputs.out" --raw-output) # root@b62e2017d34d:/workspaces/bitbop# # # But when uncommented, # # root@b62e2017d34d:/workspaces/bitbop# ls $(nb .#cherami-build --json | jq ".[].outputs.out" --raw-output) # bin # root@b62e2017d34d:/workspaces/bitbop# # name = "cherami-build"; src = ./cherami; }; }); }
And the output directory is only non-empty when name is specified? Why?
My flake.lock file is available in this gist.
flake.lock
The text was updated successfully, but these errors were encountered:
fix build failure: nix-community/naersk#323
999caa7
108936c
No branches or pull requests
As the title says, I have a
flake.nix
:And the output directory is only non-empty when
name
is specified? Why?My
flake.lock
file is available in this gist.The text was updated successfully, but these errors were encountered: