Skip to content

eval-checker: use explicit 'nixpkgs' argument for release.nix expressions#189

Merged
grahamc merged 2 commits intoNixOS:releasedfrom
LnL7:nixpkgs-restricted-mode
Nov 22, 2018
Merged

eval-checker: use explicit 'nixpkgs' argument for release.nix expressions#189
grahamc merged 2 commits intoNixOS:releasedfrom
LnL7:nixpkgs-restricted-mode

Conversation

@LnL7
Copy link
Member

@LnL7 LnL7 commented Jul 4, 2018

Abstracting the evaluation of the release.nix expressions and attributes would be nicer, but this should fix the evaluation issues.

The test doesn't work yet, but I also had trouble reproducing the behaviour interactively.

…ions

Using builtins.fetchGit is not allowed in restricted mode, but it's
desirable for eg. the tarball build. So we avoid it for the evaluation
checks.

See NixOS/nixpkgs#43042
@LnL7 LnL7 force-pushed the nixpkgs-restricted-mode branch from 50d967b to 182f6c6 Compare November 21, 2018 23:17
@LnL7 LnL7 force-pushed the nixpkgs-restricted-mode branch from 182f6c6 to b8975bc Compare November 21, 2018 23:43
@grahamc grahamc merged commit da43bc0 into NixOS:released Nov 22, 2018
@LnL7 LnL7 deleted the nixpkgs-restricted-mode branch November 23, 2018 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants