hyprwm / xdg-desktop-portal-hyprland

xdg-desktop-portal backend for Hyprland
BSD 3-Clause "New" or "Revised" License
307 stars 49 forks source link

error: attribute 'gcc13Stdenv' missing #92

Open i-am-logger opened 1 year ago

i-am-logger commented 1 year ago

latest from unstable

       … while calling anonymous lambda

         at /nix/store/6973f85764j1727di65j8vx8m93dpw77-source/lib/attrsets.nix:716:24:

          715|     let f = attrPath:
          716|       zipAttrsWith (n: values:
             |                        ^
          717|         let here = attrPath ++ [n]; in

       … while calling 'g'

         at /nix/store/6973f85764j1727di65j8vx8m93dpw77-source/lib/attrsets.nix:535:19:

          534|           g =
          535|             name: value:
             |                   ^
          536|             if isAttrs value && cond value

       … from call site

         at /nix/store/6973f85764j1727di65j8vx8m93dpw77-source/lib/attrsets.nix:538:20:

          537|               then recurse (path ++ [name]) value
          538|               else f (path ++ [name]) value;
             |                    ^
          539|         in mapAttrs g;

       … while calling anonymous lambda

         at /nix/store/6973f85764j1727di65j8vx8m93dpw77-source/lib/modules.nix:270:72:

          269|           # For definitions that have an associated option
          270|           declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
             |
       ^
          271|

       … while evaluating the option `system.build.toplevel':

       … while calling anonymous lambda

         at /nix/store/6973f85764j1727di65j8vx8m93dpw77-source/lib/modules.nix:743:28:

          742|         # Process mkMerge and mkIf properties.
          743|         defs' = concatMap (m:
             |                            ^
          744|           map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))

       … while evaluating definitions from `/nix/store/6973f85764j1727di65j8vx8m93dpw77-source/nixos/modules/system/activation/top-level.nix':

       … from call site

         at /nix/store/6973f85764j1727di65j8vx8m93dpw77-source/lib/modules.nix:744:137:

          743|         defs' = concatMap (m:
          744|           map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
             |
                                                                        ^
          745|         ) defs;

       … while calling 'dischargeProperties'

         at /nix/store/6973f85764j1727di65j8vx8m93dpw77-source/lib/modules.nix:815:25:

          814|   */
          815|   dischargeProperties = def:
             |                         ^
          816|     if def._type or "" == "merge" then

       … from call site

         at /nix/store/6973f85764j1727di65j8vx8m93dpw77-source/nixos/modules/system/activation/top-level.nix:129:12:

          128|   # Replace runtime dependencies
          129|   system = foldr ({ oldDependency, newDependency }: drv:
             |            ^
          130|       pkgs.replaceDependency { inherit oldDependency newDependency drv; }

       … while calling 'foldr'

         at /nix/store/6973f85764j1727di65j8vx8m93dpw77-source/lib/lists.nix:53:20:

           52|   */
           53|   foldr = op: nul: list:
             |                    ^
           54|     let

       … from call site

         at /nix/store/6973f85764j1727di65j8vx8m93dpw77-source/lib/lists.nix:60:8:

           59|         else op (elemAt list n) (fold' (n + 1));
           60|     in fold' 0;
             |        ^
           61|

       … while calling 'fold''

         at /nix/store/6973f85764j1727di65j8vx8m93dpw77-source/lib/lists.nix:56:15:

           55|       len = length list;
           56|       fold' = n:
             |               ^
           57|         if n == len

       … while calling anonymous lambda

         at /nix/store/6973f85764j1727di65j8vx8m93dpw77-source/nixos/modules/system/activation/top-level.nix:122:50:

          121|
          122|   failedAssertions = map (x: x.message) (filter (x: !x.assertion) config.assertions);
             |                                                  ^
          123|

       … while calling 'g'

         at /nix/store/6973f85764j1727di65j8vx8m93dpw77-source/lib/attrsets.nix:535:19:

          534|           g =
          535|             name: value:
             |                   ^
          536|             if isAttrs value && cond value

       … from call site

         at /nix/store/6973f85764j1727di65j8vx8m93dpw77-source/lib/attrsets.nix:538:20:

          537|               then recurse (path ++ [name]) value
          538|               else f (path ++ [name]) value;
             |                    ^
          539|         in mapAttrs g;

       … while calling anonymous lambda

         at /nix/store/6973f85764j1727di65j8vx8m93dpw77-source/lib/modules.nix:270:72:

          269|           # For definitions that have an associated option
          270|           declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
             |
       ^
          271|

       … while evaluating the option `xdg.portal.extraPortals':

       … from call site

         at /nix/store/6973f85764j1727di65j8vx8m93dpw77-source/lib/modules.nix:765:59:

          764|       if isDefined then
          765|         if all (def: type.check def.value) defsFinal then type.merge loc defsFinal
             |                                                           ^
          766|         else let allInvalid = filter (def: ! type.check def.value) defsFinal;

       … while calling 'merge'

         at /nix/store/6973f85764j1727di65j8vx8m93dpw77-source/lib/types.nix:491:20:

          490|       check = isList;
          491|       merge = loc: defs:
             |                    ^
          492|         map (x: x.value) (filter (x: x ? value) (concatLists (imap1 (n: def:

       … while calling anonymous lambda

         at /nix/store/6973f85764j1727di65j8vx8m93dpw77-source/lib/types.nix:492:35:

          491|       merge = loc: defs:
          492|         map (x: x.value) (filter (x: x ? value) (concatLists (imap1 (n: def:
             |                                   ^
          493|           imap1 (m: def':

       … while calling anonymous lambda

         at /nix/store/6973f85764j1727di65j8vx8m93dpw77-source/lib/lists.nix:117:29:

          116|   */
          117|   imap1 = f: list: genList (n: f (n + 1) (elemAt list n)) (length list);
             |                             ^
          118|

       … from call site

         at /nix/store/6973f85764j1727di65j8vx8m93dpw77-source/lib/lists.nix:117:32:

          116|   */
          117|   imap1 = f: list: genList (n: f (n + 1) (elemAt list n)) (length list);
             |                                ^
          118|

       … while calling anonymous lambda

         at /nix/store/6973f85764j1727di65j8vx8m93dpw77-source/lib/types.nix:493:21:

          492|         map (x: x.value) (filter (x: x ? value) (concatLists (imap1 (n: def:
          493|           imap1 (m: def':
             |                     ^
          494|             (mergeDefinitions

       … while calling anonymous lambda

         at /nix/store/6973f85764j1727di65j8vx8m93dpw77-source/lib/modules.nix:743:28:

          742|         # Process mkMerge and mkIf properties.
          743|         defs' = concatMap (m:
             |                            ^
          744|           map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))

       … while evaluating definitions from `/nix/store/6973f85764j1727di65j8vx8m93dpw77-source/flake.nix':

       … from call site

         at /nix/store/6973f85764j1727di65j8vx8m93dpw77-source/lib/modules.nix:744:137:

          743|         defs' = concatMap (m:
          744|           map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
             |
                                                                        ^
          745|         ) defs;

       … while calling 'dischargeProperties'

         at /nix/store/6973f85764j1727di65j8vx8m93dpw77-source/lib/modules.nix:815:25:

          814|   */
          815|   dischargeProperties = def:
             |                         ^
          816|     if def._type or "" == "merge" then

       … while calling 'g'

         at /nix/store/6973f85764j1727di65j8vx8m93dpw77-source/lib/attrsets.nix:535:19:

          534|           g =
          535|             name: value:
             |                   ^
          536|             if isAttrs value && cond value

       … from call site

         at /nix/store/6973f85764j1727di65j8vx8m93dpw77-source/lib/attrsets.nix:538:20:

          537|               then recurse (path ++ [name]) value
          538|               else f (path ++ [name]) value;
             |                    ^
          539|         in mapAttrs g;

       … while calling anonymous lambda

         at /nix/store/6973f85764j1727di65j8vx8m93dpw77-source/lib/modules.nix:270:72:

          269|           # For definitions that have an associated option
          270|           declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
             |
       ^
          271|

       … while evaluating the option `programs.hyprland.portalPackage':

       … while calling anonymous lambda

         at /nix/store/6973f85764j1727di65j8vx8m93dpw77-source/lib/modules.nix:753:19:

          752|           # Avoid sorting if we don't have to.
          753|           if any (def: def.value._type or "" == "order") defs''.values
             |                   ^
          754|           then sortProperties defs''.values

       … from call site

         at /nix/store/6973f85764j1727di65j8vx8m93dpw77-source/lib/options.nix:143:19:

          142|         description = "The ${name} package to use.";
          143|         default = attrByPath default'
             |                   ^
          144|           (throw "${concatStringsSep "." default'} cannot be found in pkgs") pkgs;

       … while calling 'attrByPath'

         at /nix/store/6973f85764j1727di65j8vx8m93dpw77-source/lib/attrsets.nix:36:5:

           35|     # The nested attribute set to select values from
           36|     set:
             |     ^
           37|     let attr = head attrPath;

       … from call site

         at /nix/store/6973f85764j1727di65j8vx8m93dpw77-source/lib/attrsets.nix:41:12:

           40|       else if set ? ${attr}
           41|       then attrByPath (tail attrPath) default set.${attr}
             |            ^
           42|       else default;

       … while calling 'attrByPath'

         at /nix/store/6973f85764j1727di65j8vx8m93dpw77-source/lib/attrsets.nix:36:5:

           35|     # The nested attribute set to select values from
           36|     set:
             |     ^
           37|     let attr = head attrPath;

       … from call site

         at /nix/store/lypg8fvpm0yajqrggqw3l6ifgpml8shm-source/nix/overlays.nix:25:35:

           24|   xdg-desktop-portal-hyprland = final: prev: {
           25|     xdg-desktop-portal-hyprland = final.callPackage ./default.nix {
             |                                   ^
           26|       stdenv = prev.gcc13Stdenv;

       … while calling 'callPackageWith'

         at /nix/store/6973f85764j1727di65j8vx8m93dpw77-source/lib/customisation.nix:128:35:

          127|   */
          128|   callPackageWith = autoArgs: fn: args:
             |                                   ^
          129|     let

       … from call site

         at /nix/store/6973f85764j1727di65j8vx8m93dpw77-source/lib/customisation.nix:179:34:

          178|
          179|     in if missingArgs == [] then makeOverridable f allArgs else throw error;
             |                                  ^
          180|

       … while calling 'makeOverridable'

         at /nix/store/6973f85764j1727di65j8vx8m93dpw77-source/lib/customisation.nix:78:24:

           77|   */
           78|   makeOverridable = f: origArgs:
             |                        ^
           79|     let

       … from call site

         at /nix/store/6973f85764j1727di65j8vx8m93dpw77-source/lib/customisation.nix:80:16:

           79|     let
           80|       result = f origArgs;
             |                ^
           81|

       … while calling anonymous lambda

         at /nix/store/lypg8fvpm0yajqrggqw3l6ifgpml8shm-source/nix/default.nix:1:1:

            1| {
             | ^
            2|   lib,

       error: attribute 'gcc13Stdenv' missing

       at /nix/store/lypg8fvpm0yajqrggqw3l6ifgpml8shm-source/nix/overlays.nix:26:16:

           25|     xdg-desktop-portal-hyprland = final.callPackage ./default.nix {
           26|       stdenv = prev.gcc13Stdenv;
             |                ^
           27|       inherit (final) hyprland-protocols hyprland-share-picker;
       Did you mean one of gcc10Stdenv, gcc11Stdenv, gcc12Stdenv, gcc49Stdenv or gcc6Stdenv?
vaxerski commented 1 year ago

@fufexan for nix

fufexan commented 1 year ago
  1. The hyprland module is not ready for this change yet, see https://github.com/hyprwm/Hyprland/pull/3242
  2. Your nixpkgs is old
  3. Context?