Hyprland icon indicating copy to clipboard operation
Hyprland copied to clipboard

error: 'libseat' has been renamed to/replaced by 'seatd'

Open adminy opened this issue 1 year ago • 2 comments

Already reported ? *

  • [X] I have searched the existing open and closed issues.

Regression?

Yes

System Info and Version

Hyprland, built from branch v0.44.1-b at commit 4520b30d498daca8079365bdb909a8dea38e8d55  (version: bump to 0.44.1).
Date: 2024-10-09
Tag: v0.44.1, commits: 4520b30d498daca8079365bdb909a8dea38e8d55
built against aquamarine 0.4.3


flags: (if any)


System Information:
System name: Linux
Node name: box
Release: 6.10.14
Version: #1-NixOS SMP PREEMPT_DYNAMIC Thu Oct 10 10:01:14 UTC 2024


GPU information: 
08:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA102 [GeForce RTX 3090] [10de:2204] (rev a1) (prog-if 00 [VGA controller])
NVRM version: NVIDIA UNIX x86_64 Kernel Module  560.35.03  Fri Aug 16 21:39:15 UTC 2024


os-release: ANSI_COLOR="1;34"
BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues"
BUILD_ID="24.11pre-git"
DOCUMENTATION_URL="https://nixos.org/learn.html"
HOME_URL="https://nixos.org/"
ID=nixos
IMAGE_ID=""
IMAGE_VERSION=""
LOGO="nix-snowflake"
NAME=NixOS
PRETTY_NAME="NixOS 24.11 (Vicuna)"
SUPPORT_URL="https://nixos.org/community.html"
VERSION="24.11 (Vicuna)"
VERSION_CODENAME=vicuna
VERSION_ID="24.11"


plugins:
        unknown: not runtime

Description

I tried normally to update the flake lock file. This time not so lucky.

   … while evaluating derivation 'hyprland-0.44.0+date=2024-10-17_0e630e9'
         whose name attribute is located at /nix/store/nginck9vpkh03dllh4cl9wv9hwbal3ng-source/pkgs/stdenv/generic/make-derivation.nix:336:7

       … while evaluating attribute 'buildInputs' of derivation 'hyprland-0.44.0+date=2024-10-17_0e630e9'
         at /nix/store/nginck9vpkh03dllh4cl9wv9hwbal3ng-source/pkgs/stdenv/generic/make-derivation.nix:383:7:
          382|       depsHostHost                = elemAt (elemAt dependencies 1) 0;
          383|       buildInputs                 = elemAt (elemAt dependencies 1) 1;
             |       ^
          384|       depsTargetTarget            = elemAt (elemAt dependencies 2) 0;

       … while calling the 'getAttr' builtin
         at <nix/derivation-internal.nix>:44:19:
           43|       value = commonAttrs // {
           44|         outPath = builtins.getAttr outputName strict;
             |                   ^
           45|         drvPath = strict.drvPath;

       … while calling the 'derivationStrict' builtin
         at <nix/derivation-internal.nix>:34:12:
           33|
           34|   strict = derivationStrict drvAttrs;
             |            ^
           35|

       … while evaluating derivation 'aquamarine-0.4.3+date=2024-10-14_9874e08'
         whose name attribute is located at /nix/store/nginck9vpkh03dllh4cl9wv9hwbal3ng-source/pkgs/stdenv/generic/make-derivation.nix:336:7

       … while evaluating attribute 'buildInputs' of derivation 'aquamarine-0.4.3+date=2024-10-14_9874e08'
         at /nix/store/nginck9vpkh03dllh4cl9wv9hwbal3ng-source/pkgs/stdenv/generic/make-derivation.nix:383:7:
          382|       depsHostHost                = elemAt (elemAt dependencies 1) 0;
          383|       buildInputs                 = elemAt (elemAt dependencies 1) 1;
             |       ^
          384|       depsTargetTarget            = elemAt (elemAt dependencies 2) 0;

       … while calling anonymous lambda
         at /nix/store/nginck9vpkh03dllh4cl9wv9hwbal3ng-source/pkgs/stdenv/generic/make-derivation.nix:312:13:
          311|       (map (drv: getDev drv.__spliced.hostHost or drv) (checkDependencyList "depsHostHost" depsHostHost))
          312|       (map (drv: getDev drv.__spliced.hostTarget or drv) (checkDependencyList "buildInputs" buildInputs'))
             |             ^
          313|     ]

       … from call site
         at /nix/store/nginck9vpkh03dllh4cl9wv9hwbal3ng-source/pkgs/stdenv/generic/make-derivation.nix:312:18:
          311|       (map (drv: getDev drv.__spliced.hostHost or drv) (checkDependencyList "depsHostHost" depsHostHost))
          312|       (map (drv: getDev drv.__spliced.hostTarget or drv) (checkDependencyList "buildInputs" buildInputs'))
             |                  ^
          313|     ]

       … while calling 'getOutput'
         at /nix/store/nginck9vpkh03dllh4cl9wv9hwbal3ng-source/lib/attrsets.nix:1797:23:
         1796|   */
         1797|   getOutput = output: pkg:
             |                       ^
         1798|     if ! pkg ? outputSpecified || ! pkg.outputSpecified

       … while evaluating a branch condition
         at /nix/store/nginck9vpkh03dllh4cl9wv9hwbal3ng-source/lib/attrsets.nix:1798:5:
         1797|   getOutput = output: pkg:
         1798|     if ! pkg ? outputSpecified || ! pkg.outputSpecified
             |     ^
         1799|       then pkg.${output} or pkg.out or pkg

       … in the left operand of the OR (||) operator
         at /nix/store/nginck9vpkh03dllh4cl9wv9hwbal3ng-source/lib/attrsets.nix:1798:32:
         1797|   getOutput = output: pkg:
         1798|     if ! pkg ? outputSpecified || ! pkg.outputSpecified
             |                                ^
         1799|       then pkg.${output} or pkg.out or pkg

       … in the argument of the not operator
         at /nix/store/nginck9vpkh03dllh4cl9wv9hwbal3ng-source/lib/attrsets.nix:1798:10:
         1797|   getOutput = output: pkg:
         1798|     if ! pkg ? outputSpecified || ! pkg.outputSpecified
             |          ^
         1799|       then pkg.${output} or pkg.out or pkg

       … from call site
         at /nix/store/nginck9vpkh03dllh4cl9wv9hwbal3ng-source/pkgs/stdenv/generic/make-derivation.nix:312:25:
          311|       (map (drv: getDev drv.__spliced.hostHost or drv) (checkDependencyList "depsHostHost" depsHostHost))
          312|       (map (drv: getDev drv.__spliced.hostTarget or drv) (checkDependencyList "buildInputs" buildInputs'))
             |                         ^
          313|     ]

       … while calling anonymous lambda
         at /nix/store/nginck9vpkh03dllh4cl9wv9hwbal3ng-source/lib/lists.nix:334:29:
          333|   */
          334|   imap1 = f: list: genList (n: f (n + 1) (elemAt list n)) (length list);
             |                             ^
          335|

       … from call site
         at /nix/store/nginck9vpkh03dllh4cl9wv9hwbal3ng-source/lib/lists.nix:334:32:
          333|   */
          334|   imap1 = f: list: genList (n: f (n + 1) (elemAt list n)) (length list);
             |                                ^
          335|

       … while calling anonymous lambda
         at /nix/store/nginck9vpkh03dllh4cl9wv9hwbal3ng-source/pkgs/stdenv/generic/make-derivation.nix:281:15:
          280|     imap1
          281|       (index: dep:
             |               ^
          282|         if isDerivation dep || dep == null || builtins.isString dep || builtins.isPath dep then dep

       … while evaluating a branch condition
         at /nix/store/nginck9vpkh03dllh4cl9wv9hwbal3ng-source/pkgs/stdenv/generic/make-derivation.nix:282:9:
          281|       (index: dep:
          282|         if isDerivation dep || dep == null || builtins.isString dep || builtins.isPath dep then dep
             |         ^
          283|         else if isList dep then checkDependencyList' ([index] ++ positions) name dep

       … in the left operand of the OR (||) operator
         at /nix/store/nginck9vpkh03dllh4cl9wv9hwbal3ng-source/pkgs/stdenv/generic/make-derivation.nix:282:69:
          281|       (index: dep:
          282|         if isDerivation dep || dep == null || builtins.isString dep || builtins.isPath dep then dep
             |                                                                     ^
          283|         else if isList dep then checkDependencyList' ([index] ++ positions) name dep

       … in the left operand of the OR (||) operator
         at /nix/store/nginck9vpkh03dllh4cl9wv9hwbal3ng-source/pkgs/stdenv/generic/make-derivation.nix:282:44:
          281|       (index: dep:
          282|         if isDerivation dep || dep == null || builtins.isString dep || builtins.isPath dep then dep
             |                                            ^
          283|         else if isList dep then checkDependencyList' ([index] ++ positions) name dep

       … in the left operand of the OR (||) operator
         at /nix/store/nginck9vpkh03dllh4cl9wv9hwbal3ng-source/pkgs/stdenv/generic/make-derivation.nix:282:29:
          281|       (index: dep:
          282|         if isDerivation dep || dep == null || builtins.isString dep || builtins.isPath dep then dep
             |                             ^
          283|         else if isList dep then checkDependencyList' ([index] ++ positions) name dep

       … from call site
         at /nix/store/nginck9vpkh03dllh4cl9wv9hwbal3ng-source/pkgs/stdenv/generic/make-derivation.nix:282:12:
          281|       (index: dep:
          282|         if isDerivation dep || dep == null || builtins.isString dep || builtins.isPath dep then dep
             |            ^
          283|         else if isList dep then checkDependencyList' ([index] ++ positions) name dep

       … while calling 'isDerivation'
         at /nix/store/nginck9vpkh03dllh4cl9wv9hwbal3ng-source/lib/attrsets.nix:1283:5:
         1282|   isDerivation =
         1283|     value: value.type or null == "derivation";
             |     ^
         1284|

       … while calling the 'elemAt' builtin
         at /nix/store/nginck9vpkh03dllh4cl9wv9hwbal3ng-source/lib/lists.nix:334:43:
          333|   */
          334|   imap1 = f: list: genList (n: f (n + 1) (elemAt list n)) (length list);
             |                                           ^
          335|

       … while calling anonymous lambda
         at /nix/store/nginck9vpkh03dllh4cl9wv9hwbal3ng-source/pkgs/top-level/aliases.nix:51:11:
           50|     lib.mapAttrs
           51|       (n: alias:
             |           ^
           52|         removeDistribute

       … from call site
         at /nix/store/nginck9vpkh03dllh4cl9wv9hwbal3ng-source/pkgs/top-level/aliases.nix:52:9:
           51|       (n: alias:
           52|         removeDistribute
             |         ^
           53|           (removeRecurseForDerivations

       … while calling 'removeDistribute'
         at /nix/store/nginck9vpkh03dllh4cl9wv9hwbal3ng-source/pkgs/top-level/aliases.nix:32:22:
           31|   # sets from building on Hydra.
           32|   removeDistribute = alias:
             |                      ^
           33|     if lib.isDerivation alias then

       … while evaluating a branch condition
         at /nix/store/nginck9vpkh03dllh4cl9wv9hwbal3ng-source/pkgs/top-level/aliases.nix:33:5:
           32|   removeDistribute = alias:
           33|     if lib.isDerivation alias then
             |     ^
           34|       lib.dontDistribute alias

       … from call site
         at /nix/store/nginck9vpkh03dllh4cl9wv9hwbal3ng-source/pkgs/top-level/aliases.nix:33:8:
           32|   removeDistribute = alias:
           33|     if lib.isDerivation alias then
             |        ^
           34|       lib.dontDistribute alias

       … while calling 'isDerivation'
         at /nix/store/nginck9vpkh03dllh4cl9wv9hwbal3ng-source/lib/attrsets.nix:1283:5:
         1282|   isDerivation =
         1283|     value: value.type or null == "derivation";
             |     ^
         1284|

       … from call site
         at /nix/store/nginck9vpkh03dllh4cl9wv9hwbal3ng-source/pkgs/top-level/aliases.nix:53:12:
           52|         removeDistribute
           53|           (removeRecurseForDerivations
             |            ^
           54|             (checkInPkgs n alias)))

       … while calling 'removeRecurseForDerivations'
         at /nix/store/nginck9vpkh03dllh4cl9wv9hwbal3ng-source/pkgs/top-level/aliases.nix:25:33:
           24|   # to appear while listing all the packages available.
           25|   removeRecurseForDerivations = alias:
             |                                 ^
           26|     if alias.recurseForDerivations or false

       … while evaluating a branch condition
         at /nix/store/nginck9vpkh03dllh4cl9wv9hwbal3ng-source/pkgs/top-level/aliases.nix:26:5:
           25|   removeRecurseForDerivations = alias:
           26|     if alias.recurseForDerivations or false
             |     ^
           27|     then lib.removeAttrs alias [ "recurseForDerivations" ]

       … from call site
         at /nix/store/nginck9vpkh03dllh4cl9wv9hwbal3ng-source/pkgs/top-level/aliases.nix:54:14:
           53|           (removeRecurseForDerivations
           54|             (checkInPkgs n alias)))
             |              ^
           55|       aliases;

       … while calling 'checkInPkgs'
         at /nix/store/nginck9vpkh03dllh4cl9wv9hwbal3ng-source/pkgs/top-level/aliases.nix:44:20:
           43|   # Make sure that we are not shadowing something from all-packages.nix.
           44|   checkInPkgs = n: alias:
             |                    ^
           45|     if builtins.hasAttr n super

       … while calling the 'throw' builtin
         at /nix/store/nginck9vpkh03dllh4cl9wv9hwbal3ng-source/pkgs/top-level/aliases.nix:873:13:
          872|   librewolf-wayland = librewolf; # Added 2022-11-15
          873|   libseat = throw "'libseat' has been renamed to/replaced by 'seatd'"; # Converted to throw 2024-10-17
             |             ^
          874|   libsigcxx12 = throw "'libsigcxx12' has been removed, please use newer versions"; # Added 2023-10-20

       error: 'libseat' has been renamed to/replaced by 'seatd'

How to reproduce

I am getting hyprland's source from master branch.

I'm pretty sure this is because I overwrite the nixpkgs input, but either way this seems to be an upcoming change that's going to be necessary and it will throw on the unstable branch soon enough.

Crash reports, logs, images, videos

No response

adminy avatar Oct 19 '24 09:10 adminy

Same issue here. However, this issue only occurs when I change the input url of nixpkgs to the master branch. If I switch back to nixos-unstable branch, this issue doesn't occur anymore.

Ate329 avatar Oct 19 '24 10:10 Ate329

@fufexan

vaxerski avatar Oct 19 '24 11:10 vaxerski

Met the same situation when hyprland follows nixos/nixpkgs/nixos-unstable-small, nixos-unsable works fine.

Hobr avatar Oct 21 '24 15:10 Hobr

This change has made its way to nixos-unstable as well https://nixpk.gs/pr-tracker.html?pr=349431

LovingMelody avatar Oct 22 '24 16:10 LovingMelody

https://github.com/hyprwm/aquamarine/commit/e6ea0e0808003392da3a6237c090f133b1d9863b

Running nix flake update hyprland/aquamarine (assuming you haven't overridden aquamarine) should resolve the issue until Hyprland updates aquamarine itself.

matthewpi avatar Oct 23 '24 01:10 matthewpi

Forgot to merge the pr last night, my bad.

fufexan avatar Oct 23 '24 04:10 fufexan