lix/src
Andreas Rammhold 90d8178009
Don't move the arguments of the primOp
Moving arguments of the primOp into the registration structure makes it
impossible to initialize a second EvalState with the correct primOp
registration. It will end up registering all those "RegisterPrimOp"'s
with an arity of zero on all but the 2nd instance of the EvalState.

Not moving the memory will add a tiny bit of memory overhead during the
eval since we need a copy of all the argument lists of all the primOp's.
The overhead shouldn't be too bad as it is static (based on the amonut
of registered operations) and only occurs once during the interpreter
startup.
2021-11-28 02:06:47 +01:00
..
build-remote build-remote: Implicitly add the 'builtin' system type to all machines 2021-10-27 14:25:13 +02:00
cpptoml Revert the enum struct change 2020-06-18 22:11:26 +00:00
libcmd Make experimental-features a proper type 2021-10-26 07:02:31 +02:00
libexpr Don't move the arguments of the primOp 2021-11-28 02:06:47 +01:00
libfetchers Merge pull request #5452 from Kha/git-extend-lock 2021-11-16 12:55:12 +01:00
libmain Merge pull request #5384 from baloo/baloo/dns-timeout 2021-11-25 17:37:53 +01:00
libstore Merge pull request #5603 from obsidiansystems/recursive-nix-system-feature 2021-11-25 17:20:58 +01:00
libutil Fix a minor data race with _isInterrupted 2021-11-24 14:50:08 +01:00
nix nix repl: Reset the terminal on exceptional exits 2021-11-26 13:10:28 +01:00
nix-build Make nix-shell work when nixpkgs is content-addressed 2021-11-26 09:56:48 +01:00
nix-channel Initialize plugins after handling initial command line flags 2021-02-24 08:22:17 -05:00
nix-collect-garbage Initialize plugins after handling initial command line flags 2021-02-24 08:22:17 -05:00
nix-copy-closure copyPaths: Pass store by reference 2021-07-22 09:59:51 +02:00
nix-env Support range-based for loop over list values 2021-11-25 16:31:39 +01:00
nix-instantiate Merge pull request #5428 from kreisys/add-pos-to-json-type-error 2021-11-15 07:57:46 -06:00
nix-store nix-store --serve: pass on settings.keepFailed from SSH store 2021-08-31 13:11:46 +02:00
nlohmann nlohmann_json: Update to 3.9.1, fix use of internal copy 2021-07-15 12:25:53 +02:00
resolve-system-dependencies Apply OS checks to host platform, not build 2021-06-23 15:00:36 +00:00