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

Allow building a "store-only" nix #6225

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Ericson2314
Copy link
Member

@Ericson2314 Ericson2314 commented Mar 10, 2022

This is a nix without the expression language or flakes, with just a few
commands.

TODO:

  • Do --help without libexper.

  • Dedup the two main.ccs

  • Dedup the two nix.mds

  • Dedup the two help.mds

Fixes #6182

Depends on #7763

@Ericson2314
Copy link
Member Author

Ericson2314 commented Dec 14, 2022

Great...

/nix/store/rq6bh3qfrqnyqwik0w3q6w180zg3w2pa-binutils-2.38/bin/ld.gold: internal error in format_file_lineno, at dwarf_reader.cc:2713

@Ericson2314 Ericson2314 force-pushed the split-libcmd branch 3 times, most recently from 59a1927 to 6571c90 Compare December 14, 2022 21:45
Ericson2314 added a commit to obsidiansystems/nix that referenced this pull request Feb 3, 2023
`nix app` had something called `InstallableDerivedPath` which is
actually the same thing. We go with the later's name because it has
become more correct.

I originally did this change (more hurriedly) as part of NixOS#6225 --- a
mini store-only Nix and a full Nix need to share this code. In the first
RFC meeting for NixOS/rfcs#134 we discussed how
some splitting of the massive `installables.cc` could begin prior, as
that is a good thing anyways. (@edolstra's words, not mine!) This would
be one such PR.
@Ericson2314 Ericson2314 force-pushed the split-libcmd branch 3 times, most recently from 1196d90 to 35befd7 Compare February 7, 2023 18:42
@Ericson2314 Ericson2314 mentioned this pull request Feb 20, 2023
10 tasks
@Ericson2314 Ericson2314 force-pushed the split-libcmd branch 2 times, most recently from d30af8d to 35690e9 Compare March 15, 2023 22:20
@Ericson2314 Ericson2314 added the RFC Related to an accepted RFC label Mar 17, 2023
@dpulls
Copy link

dpulls bot commented Mar 27, 2023

🎉 All dependencies have been resolved !

@Ericson2314 Ericson2314 force-pushed the split-libcmd branch 3 times, most recently from f31c6a1 to b8ed149 Compare March 29, 2023 23:43
@Ericson2314 Ericson2314 changed the title WIP: Allow building a "store-only" nix Allow building a "store-only" nix Apr 19, 2023
@github-actions github-actions bot added fetching Networking with the outside (non-Nix) world, input locking new-cli Relating to the "nix" command labels Apr 19, 2023
@Ericson2314 Ericson2314 force-pushed the split-libcmd branch 3 times, most recently from 2b22320 to 5aa081e Compare November 13, 2023 05:45
It is good to do the inner mutation first on a local variable so the
field is updated just once.
This is a nix without the expression language or flakes, with just a few
commands.

TODO:

 - Do --help without libexper.

 - Dedup the two `main.cc`s

 - Dedup the two `nix.md`s

 - Dedup the two `help.md`s

Pop out parser

Fix completions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation fetching Networking with the outside (non-Nix) world, input locking new-cli Relating to the "nix" command RFC Related to an accepted RFC
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

Build daemon without rest of Nix
1 participant