dream2nix icon indicating copy to clipboard operation
dream2nix copied to clipboard

Cannot use `raw` in v1's `lib.evalModules`

Open ahirner opened this issue 1 year ago • 0 comments

I'm trying v1 in a flake setup and want to inspect more build outputs:

dream2nix = import ...;
d2nPackage = dream2nix.lib.evalModules {
  modules = [./package.nix setupModule];
  packageSets = {
    nixpkgs = pkgs;
  };
  raw = true;
};

Error:

error: function 'evalModules' called with unexpected argument 'raw'

       at /nix/store/4lbmf3pbrsb0a5l4713mal64w8hp6na9-source/lib/modules.nix:101:17:

I think raw should be removed as well here? https://github.com/nix-community/dream2nix/blob/fbfb09d2ab5ff761d822dd40b4a1def81651d096/v1/nix/modules/flake-parts/lib.evalModules.nix#L18-L21

ahirner avatar May 12 '23 05:05 ahirner