-
Notifications
You must be signed in to change notification settings - Fork 113
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
Nix shell: passing inNixShell
#989
Comments
Good day to you. A note to be obvious: I just now checked additionally in Nix v. Upstream Nix ... lets say it has some hardcode & side effects, and it very well may be it on your setup. Because of the team & merging difficulties in the Nix to fix such things, that directly drove me here to maintain It may be something particularly special with your way of Nix configuration, locale/Nix version/way of nix configuration, as we both know Nix configuration is a quite complex beast. If you would find the particular case - our team is open to merge patches & you always can reformulate/update the current report, add environment information, or open new reports whenever you would see fit. If you know Haskell, I am open and happy to merge fixes to the code, code style in HNix is a bit special one, & the project has an exceptionally clean & concise codebase, & I myself accept any code styles. There is a lot of ways to configure Nix loadout, so it is hard to guess the configuration you getting this exception under. If something - you also free to update |
Well, having no information provided - does not help. It is upstream shenanigans: Inheritance was designed pretty horribly in Nix: #762 - I specifically created this thread because Nix inheritance is a mess & hoped we would figure-out how to import what we want/need through it. As we see from I use Nix for 5 years & work on HNix & still do not understand all cases & details of the inheritance syntax. The main language design error there was - Additionally - the interfaces (settings) can not be propagated from Imagine if |
@Anton-Latukha sorry for my late answer, I really appreciate you went ahead and detailled everything. My understanding was we only needed to provide for You may be interested in this long post: https://discourse.nixos.org/t/nix-2-4-and-what-s-next/ ; I see this is fixed upstream in #1015, so this can be closed, thank you ! |
Thank you also.
Would ask within other reporting to collaborate with maintainers. |
…of known issue build-clash-1.0.2 packs nix-2.5.1 now. When install build-clashwhich, we met following known issue: ----------------------- error: anonymous function at /var/lib/phoronix-test-suite/installed-tests/pts/build-clash-1.0.2/benchmark-compilation/default.nix:24:1 called with unexpected argument 'inNixShell' at /var/lib/phoronix-test-suite/installed-tests/pts/build-clash-1.0.2/benchmark-compilation/shell.nix:2:2: 1| {...}@Args: 2| (import ./. args).shell | ^ ----------------------- Link: haskell-nix/hnix#989 Signed-off-by: Ma Xinjian <xinjianx.ma@intel.com> Signed-off-by: Philip Li <philip.li@intel.com>
I tried the instructions to get started and encountered:
I believe this is related to the fact that
attrs
containsinNixShell
anddefault.nix
head function do not have any...
to take as many arguments as necessary?Can push the fix, if that's indeed an issue.
The text was updated successfully, but these errors were encountered: