Skip to content

Instantly share code, notes, and snippets.

@GaetanLepage
Created December 31, 2022 09:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GaetanLepage/a8dfa7b177cf0d7e3be7a51cb47b272f to your computer and use it in GitHub Desktop.
Save GaetanLepage/a8dfa7b177cf0d7e3be7a51cb47b272f to your computer and use it in GitHub Desktop.
nixpkgs-review oscclip
❮ nixpkgs-review pr 202587
$ git -c fetch.prune=false fetch --no-tags --force https://github.com/NixOS/nixpkgs master:refs/nixpkgs-review/0 pull/202587/head:refs/nixpkgs-review/1
$ git worktree add /home/gaetan/.cache/nixpkgs-review/pr-202587-3/nixpkgs 68dfc37fa91d059c2eeda99e5b7f822f47a5a7aa
Preparing worktree (detached HEAD 68dfc37fa91)
Updating files: 100% (33060/33060), done.
HEAD is now at 68dfc37fa91 Merge pull request #208464 from r-ryantm/auto-update/tile38
$ nix-env --option system x86_64-linux -f /home/gaetan/.cache/nixpkgs-review/pr-202587-3/nixpkgs -qaP --xml --out-path --show-trace --no-allow-import-from-derivation
$ git merge --no-commit --no-ff 892512dafcfcad172f80312bcce64271c2ff581a
Auto-merging pkgs/top-level/all-packages.nix
Automatic merge went well; stopped before committing as requested
$ nix-env --option system x86_64-linux -f /home/gaetan/.cache/nixpkgs-review/pr-202587-3/nixpkgs -qaP --xml --out-path --show-trace --no-allow-import-from-derivation --meta
error: cannot build '/nix/store/zll6g12a7r7b4jdh815lxvjif3m7w7ky-source.drv' during evaluation because the option 'allow-import-from-derivation' is disabled
… while realising the context of path '/nix/store/j85fcliafgsa4rnzc6wkgavyrz589hyj-source/poetry.lock'
at /home/gaetan/.cache/nixpkgs-review/pr-202587-3/nixpkgs/pkgs/development/tools/poetry2nix/poetry2nix/lib.nix:78:30:
77| );
78| readTOML = path: fromTOML (builtins.readFile path);
| ^
79|
… while calling 'readTOML'
at /home/gaetan/.cache/nixpkgs-review/pr-202587-3/nixpkgs/pkgs/development/tools/poetry2nix/poetry2nix/lib.nix:78:14:
77| );
78| readTOML = path: fromTOML (builtins.readFile path);
| ^
79|
… from call site
at /home/gaetan/.cache/nixpkgs-review/pr-202587-3/nixpkgs/pkgs/development/tools/poetry2nix/poetry2nix/default.nix:161:20:
160|
161| poetryLock = readTOML poetrylock;
| ^
162|
… while calling anonymous lambda
at /home/gaetan/.cache/nixpkgs-review/pr-202587-3/nixpkgs/pkgs/development/tools/poetry2nix/poetry2nix/default.nix:262:20:
261| # Null out any filtered packages, we don't want python.pkgs from nixpkgs
262| (self: super: builtins.listToAttrs (builtins.map (x: { name = normalizePackageName x.name; value = null; }) incompatible))
| ^
263| # Create poetry2nix layer
… from call site
at /home/gaetan/.cache/nixpkgs-review/pr-202587-3/nixpkgs/lib/fixed-points.nix:76:22:
75| f: g: final: prev:
76| let fApplied = f final prev;
| ^
77| prev' = prev // fApplied;
… while calling 'composeExtensions'
at /home/gaetan/.cache/nixpkgs-review/pr-202587-3/nixpkgs/lib/fixed-points.nix:75:18:
74| composeExtensions =
75| f: g: final: prev:
| ^
76| let fApplied = f final prev;
… from call site
at /home/gaetan/.cache/nixpkgs-review/pr-202587-3/nixpkgs/lib/fixed-points.nix:78:22:
77| prev' = prev // fApplied;
78| in fApplied // g final prev';
| ^
79|
… while calling 'composeExtensions'
at /home/gaetan/.cache/nixpkgs-review/pr-202587-3/nixpkgs/lib/fixed-points.nix:75:18:
74| composeExtensions =
75| f: g: final: prev:
| ^
76| let fApplied = f final prev;
… from call site
at /home/gaetan/.cache/nixpkgs-review/pr-202587-3/nixpkgs/lib/fixed-points.nix:78:22:
77| prev' = prev // fApplied;
78| in fApplied // g final prev';
| ^
79|
… while calling 'composeExtensions'
at /home/gaetan/.cache/nixpkgs-review/pr-202587-3/nixpkgs/lib/fixed-points.nix:75:18:
74| composeExtensions =
75| f: g: final: prev:
| ^
76| let fApplied = f final prev;
… from call site
at /home/gaetan/.cache/nixpkgs-review/pr-202587-3/nixpkgs/lib/fixed-points.nix:78:22:
77| prev' = prev // fApplied;
78| in fApplied // g final prev';
| ^
79|
… while calling 'composeExtensions'
at /home/gaetan/.cache/nixpkgs-review/pr-202587-3/nixpkgs/lib/fixed-points.nix:75:18:
74| composeExtensions =
75| f: g: final: prev:
| ^
76| let fApplied = f final prev;
… from call site
at /home/gaetan/.cache/nixpkgs-review/pr-202587-3/nixpkgs/lib/fixed-points.nix:76:22:
75| f: g: final: prev:
76| let fApplied = f final prev;
| ^
77| prev' = prev // fApplied;
… while calling 'composeExtensions'
at /home/gaetan/.cache/nixpkgs-review/pr-202587-3/nixpkgs/lib/fixed-points.nix:75:18:
74| composeExtensions =
75| f: g: final: prev:
| ^
76| let fApplied = f final prev;
… from call site
at /home/gaetan/.cache/nixpkgs-review/pr-202587-3/nixpkgs/lib/fixed-points.nix:78:22:
77| prev' = prev // fApplied;
78| in fApplied // g final prev';
| ^
79|
… while calling 'composeExtensions'
at /home/gaetan/.cache/nixpkgs-review/pr-202587-3/nixpkgs/lib/fixed-points.nix:75:18:
74| composeExtensions =
75| f: g: final: prev:
| ^
76| let fApplied = f final prev;
… from call site
at /home/gaetan/.cache/nixpkgs-review/pr-202587-3/nixpkgs/lib/fixed-points.nix:78:22:
77| prev' = prev // fApplied;
78| in fApplied // g final prev';
| ^
79|
… while calling 'composeExtensions'
at /home/gaetan/.cache/nixpkgs-review/pr-202587-3/nixpkgs/lib/fixed-points.nix:75:18:
74| composeExtensions =
75| f: g: final: prev:
| ^
76| let fApplied = f final prev;
… from call site
at /home/gaetan/.cache/nixpkgs-review/pr-202587-3/nixpkgs/lib/fixed-points.nix:69:67:
68| #
69| extends = f: rattrs: self: let super = rattrs self; in super // f self super;
| ^
70|
… while calling 'extends'
at /home/gaetan/.cache/nixpkgs-review/pr-202587-3/nixpkgs/lib/fixed-points.nix:69:24:
68| #
69| extends = f: rattrs: self: let super = rattrs self; in super // f self super;
| ^
70|
… from call site
at /home/gaetan/.cache/nixpkgs-review/pr-202587-3/nixpkgs/lib/customisation.nix:283:14:
282| spliced = extra spliced0 // spliced0 // keep self;
283| self = f self // {
| ^
284| newScope = scope: newScope (spliced // scope);
… while calling 'makeScopeWithSplicing'
at /home/gaetan/.cache/nixpkgs-review/pr-202587-3/nixpkgs/lib/customisation.nix:272:80:
271| hopefully it helps a little bit. */
272| makeScopeWithSplicing = splicePackages: newScope: otherSplices: keep: extra: f:
| ^
273| let
… from call site
at /home/gaetan/.cache/nixpkgs-review/pr-202587-3/nixpkgs/pkgs/development/interpreters/python/default.nix:74:12:
73| aliases = self: super: lib.optionalAttrs config.allowAliases (import ../../../top-level/python-aliases.nix lib self super);
74| in lib.makeScopeWithSplicing
| ^
75| splicePackages
… while calling anonymous lambda
at /home/gaetan/.cache/nixpkgs-review/pr-202587-3/nixpkgs/pkgs/development/interpreters/python/default.nix:48:10:
47| # - applies overrides from `packageOverrides` and `pythonPackagesOverlays`.
48| ({ pkgs, stdenv, python, overrides }: let
| ^
49| pythonPackagesFun = import ./python-packages-base.nix {
… from call site
at /home/gaetan/.cache/nixpkgs-review/pr-202587-3/nixpkgs/lib/customisation.nix:72:16:
71| let
72| result = f origArgs;
| ^
73|
… while calling 'makeOverridable'
at /home/gaetan/.cache/nixpkgs-review/pr-202587-3/nixpkgs/lib/customisation.nix:70:24:
69| */
70| makeOverridable = f: origArgs:
| ^
71| let
… from call site
at /home/gaetan/.cache/nixpkgs-review/pr-202587-3/nixpkgs/lib/customisation.nix:171:34:
170|
171| in if missingArgs == [] then makeOverridable f allArgs else throw error;
| ^
172|
… while calling 'callPackageWith'
at /home/gaetan/.cache/nixpkgs-review/pr-202587-3/nixpkgs/lib/customisation.nix:120:35:
119| */
120| callPackageWith = autoArgs: fn: args:
| ^
121| let
… from call site
at /home/gaetan/.cache/nixpkgs-review/pr-202587-3/nixpkgs/pkgs/development/interpreters/python/default.nix:43:31:
42| in lib.mapAttrs func items;
43| in ensurePythonModules (callPackage
| ^
44| # Function that when called
… while calling 'ensurePythonModules'
at /home/gaetan/.cache/nixpkgs-review/pr-202587-3/nixpkgs/pkgs/development/interpreters/python/default.nix:35:31:
34| pythonPackages = let
35| ensurePythonModules = items: let
| ^
36| exceptions = [
… from call site
at /home/gaetan/.cache/nixpkgs-review/pr-202587-3/nixpkgs/pkgs/development/interpreters/python/default.nix:43:10:
42| in lib.mapAttrs func items;
43| in ensurePythonModules (callPackage
| ^
44| # Function that when called
… while evaluating the attribute 'pkgs.buildPythonPackage'
at /home/gaetan/.cache/nixpkgs-review/pr-202587-3/nixpkgs/pkgs/development/interpreters/python/default.nix:100:9:
99| withPackages = import ./with-packages.nix { inherit buildEnv pythonPackages;};
100| pkgs = pythonPackages;
| ^
101| interpreter = "${self}/bin/${executable}";
… while calling 'mkPoetryApplication'
at /home/gaetan/.cache/nixpkgs-review/pr-202587-3/nixpkgs/pkgs/development/tools/poetry2nix/poetry2nix/default.nix:361:5:
360| mkPoetryApplication =
361| { projectDir ? null
| ^
362| , src ? (
… from call site
at /home/gaetan/.cache/nixpkgs-review/pr-202587-3/nixpkgs/pkgs/tools/misc/oscclip/default.nix:7:1:
6| }:
7| poetry2nix.mkPoetryApplication {
| ^
8| projectDir = fetchFromGitHub {
… while calling anonymous lambda
at /home/gaetan/.cache/nixpkgs-review/pr-202587-3/nixpkgs/pkgs/tools/misc/oscclip/default.nix:1:1:
1| {
| ^
2| fetchFromGitHub,
… from call site
at /home/gaetan/.cache/nixpkgs-review/pr-202587-3/nixpkgs/lib/customisation.nix:72:16:
71| let
72| result = f origArgs;
| ^
73|
… while calling 'makeOverridable'
at /home/gaetan/.cache/nixpkgs-review/pr-202587-3/nixpkgs/lib/customisation.nix:70:24:
69| */
70| makeOverridable = f: origArgs:
| ^
71| let
… from call site
at /home/gaetan/.cache/nixpkgs-review/pr-202587-3/nixpkgs/lib/customisation.nix:171:34:
170|
171| in if missingArgs == [] then makeOverridable f allArgs else throw error;
| ^
172|
… while calling 'callPackageWith'
at /home/gaetan/.cache/nixpkgs-review/pr-202587-3/nixpkgs/lib/customisation.nix:120:35:
119| */
120| callPackageWith = autoArgs: fn: args:
| ^
121| let
… from call site
at /home/gaetan/.cache/nixpkgs-review/pr-202587-3/nixpkgs/pkgs/top-level/all-packages.nix:10287:13:
10286|
10287| oscclip = callPackage ../tools/misc/oscclip {};
| ^
10288|
https://github.com/NixOS/nixpkgs/pull/202587 failed to build
$ git worktree prune
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment