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
$ cat module.nix let lib = import <nixpkgs/lib>; eval = (lib.evalModules { modules = [ ({ options, lib, ... }: let tr1 = builtins.trace (builtins.typeOf options) null; tr2 = builtins.trace (builtins.typeOf options) null; in lib.seq tr1 { options = { foo = lib.seq tr2 {}; }; } ) ]; }).options.foo; in builtins.trace '' nix version is ${builtins.nixVersion} nixpkgs version is ${lib.nixpkgsVersion}'' (lib.seq eval {})
$ nix-instantiate module.nix trace: nix version is 1.7pre3488_36b90e7 nixpkgs version is 14.02pre39778.d5211b0 trace: lambda trace: set
Note that the last two traces should be identical.
The text was updated successfully, but these errors were encountered:
c9f6232
Merge pull request NixOS#217 from nix-dot-dev/domenkozar-patch-3
a89c902
add cachix-action
edolstra
No branches or pull requests
Note that the last two traces should be identical.
The text was updated successfully, but these errors were encountered: