Skip to content

Flake failed to run on mac #152

@proItheus

Description

@proItheus

Operating System

macOS

Version of Prism Launcher

flake

Version of Qt

Not relevant

Description of bug

nix run github:FreesmTeam/FreesmLauncher --show-trace

Throws:

error:
       … while calling the 'derivationStrict' builtin
         at <nix/derivation-internal.nix>:37:12:
           36|
           37|   strict = derivationStrict drvAttrs;
             |            ^
           38|

       … while evaluating derivation 'freesmlauncher-58e04b1-58e04b1'
         whose name attribute is located at /nix/store/4ggd0kb8as38xa0kr730qpnsa89df0x7-source/pkgs/stdenv/generic/make-derivation.nix:537:13

       … while evaluating attribute 'paths' of derivation 'freesmlauncher-58e04b1-58e04b1'
         at /nix/store/4ggd0kb8as38xa0kr730qpnsa89df0x7-source/pkgs/build-support/trivial-builders/default.nix:625:11:
          624|           inherit preferLocalBuild allowSubstitutes;
          625|           paths = mapPaths (path: "${path}${stripPrefix}") paths;
             |           ^
          626|           passAsFile = [ "paths" ];

       … while calling anonymous lambda
         at /nix/store/4ggd0kb8as38xa0kr730qpnsa89df0x7-source/pkgs/build-support/trivial-builders/default.nix:600:11:
          599|         map (
          600|           path:
             |           ^
          601|           if path == null then

       … from call site
         at /nix/store/4ggd0kb8as38xa0kr730qpnsa89df0x7-source/pkgs/build-support/trivial-builders/default.nix:606:13:
          605|           else
          606|             f path
             |             ^
          607|         ) paths;

       … while calling anonymous lambda
         at /nix/store/4ggd0kb8as38xa0kr730qpnsa89df0x7-source/pkgs/build-support/trivial-builders/default.nix:625:29:
          624|           inherit preferLocalBuild allowSubstitutes;
          625|           paths = mapPaths (path: "${path}${stripPrefix}") paths;
             |                             ^
          626|           passAsFile = [ "paths" ];

       … while calling the 'getAttr' builtin
         at <nix/derivation-internal.nix>:50:17:
           49|     value = commonAttrs // {
           50|       outPath = builtins.getAttr outputName strict;
             |                 ^
           51|       drvPath = strict.drvPath;

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

       … while evaluating derivation 'freesmlauncher-unwrapped-58e04b1'
         whose name attribute is located at /nix/store/4ggd0kb8as38xa0kr730qpnsa89df0x7-source/pkgs/stdenv/generic/make-derivation.nix:537:13

       … while evaluating attribute '__impureHostDeps' of derivation 'freesmlauncher-unwrapped-58e04b1'
         at /nix/store/4ggd0kb8as38xa0kr730qpnsa89df0x7-source/pkgs/stdenv/generic/make-derivation.nix:689:15:
          688|               );
          689|               __impureHostDeps =
             |               ^
          690|                 computedImpureHostDeps

       … while calling the 'foldl'' builtin
         at /nix/store/4ggd0kb8as38xa0kr730qpnsa89df0x7-source/pkgs/stdenv/generic/make-derivation.nix:659:40:
          658|
          659|               computedImpureHostDeps = unique (
             |                                        ^
          660|                 concatMap (input: input.__propagatedImpureHostDeps or [ ]) (

       … while calling the 'concatMap' builtin
         at /nix/store/4ggd0kb8as38xa0kr730qpnsa89df0x7-source/pkgs/stdenv/generic/make-derivation.nix:660:17:
          659|               computedImpureHostDeps = unique (
          660|                 concatMap (input: input.__propagatedImpureHostDeps or [ ]) (
             |                 ^
          661|                   extraNativeBuildInputs ++ extraBuildInputs ++ allDependencies

       … while calling anonymous lambda
         at /nix/store/4ggd0kb8as38xa0kr730qpnsa89df0x7-source/pkgs/stdenv/generic/make-derivation.nix:660:28:
          659|               computedImpureHostDeps = unique (
          660|                 concatMap (input: input.__propagatedImpureHostDeps or [ ]) (
             |                            ^
          661|                   extraNativeBuildInputs ++ extraBuildInputs ++ allDependencies

       … from call site
         at /nix/store/4ggd0kb8as38xa0kr730qpnsa89df0x7-source/pkgs/stdenv/generic/make-derivation.nix:660:35:
          659|               computedImpureHostDeps = unique (
          660|                 concatMap (input: input.__propagatedImpureHostDeps or [ ]) (
             |                                   ^
          661|                   extraNativeBuildInputs ++ extraBuildInputs ++ allDependencies

       … while calling anonymous lambda
         at /nix/store/4ggd0kb8as38xa0kr730qpnsa89df0x7-source/pkgs/stdenv/generic/make-derivation.nix:499:19:
          498|             (map (drv: getDev drv.__spliced.hostHost or drv) (checkDependencyList "depsHostHost" depsHostHost))
          499|             (map (drv: getDev drv.__spliced.hostTarget or drv) (checkDependencyList "buildInputs" buildInputs'))
             |                   ^
          500|           ]

       … from call site
         at /nix/store/4ggd0kb8as38xa0kr730qpnsa89df0x7-source/pkgs/stdenv/generic/make-derivation.nix:499:24:
          498|             (map (drv: getDev drv.__spliced.hostHost or drv) (checkDependencyList "depsHostHost" depsHostHost))
          499|             (map (drv: getDev drv.__spliced.hostTarget or drv) (checkDependencyList "buildInputs" buildInputs'))
             |                        ^
          500|           ]

       … while calling 'getOutput'
         at /nix/store/4ggd0kb8as38xa0kr730qpnsa89df0x7-source/lib/attrsets.nix:1924:13:
         1923|   getOutput =
         1924|     output: pkg:
             |             ^
         1925|     if !pkg ? outputSpecified || !pkg.outputSpecified then pkg.${output} or pkg.out or pkg else pkg;

       … while evaluating a branch condition
         at /nix/store/4ggd0kb8as38xa0kr730qpnsa89df0x7-source/lib/attrsets.nix:1925:5:
         1924|     output: pkg:
         1925|     if !pkg ? outputSpecified || !pkg.outputSpecified then pkg.${output} or pkg.out or pkg else pkg;
             |     ^
         1926|

       … in the left operand of the OR (||) operator
         at /nix/store/4ggd0kb8as38xa0kr730qpnsa89df0x7-source/lib/attrsets.nix:1925:31:
         1924|     output: pkg:
         1925|     if !pkg ? outputSpecified || !pkg.outputSpecified then pkg.${output} or pkg.out or pkg else pkg;
             |                               ^
         1926|

       … in the argument of the not operator
         at /nix/store/4ggd0kb8as38xa0kr730qpnsa89df0x7-source/lib/attrsets.nix:1925:9:
         1924|     output: pkg:
         1925|     if !pkg ? outputSpecified || !pkg.outputSpecified then pkg.${output} or pkg.out or pkg else pkg;
             |         ^
         1926|

       … from call site
         at /nix/store/4ggd0kb8as38xa0kr730qpnsa89df0x7-source/pkgs/stdenv/generic/make-derivation.nix:499:31:
          498|             (map (drv: getDev drv.__spliced.hostHost or drv) (checkDependencyList "depsHostHost" depsHostHost))
          499|             (map (drv: getDev drv.__spliced.hostTarget or drv) (checkDependencyList "buildInputs" buildInputs'))
             |                               ^
          500|           ]

       … while calling anonymous lambda
         at /nix/store/4ggd0kb8as38xa0kr730qpnsa89df0x7-source/lib/lists.nix:347:29:
          346|   */
          347|   imap1 = f: list: genList (n: f (n + 1) (elemAt list n)) (length list);
             |                             ^
          348|

       … from call site
         at /nix/store/4ggd0kb8as38xa0kr730qpnsa89df0x7-source/lib/lists.nix:347:32:
          346|   */
          347|   imap1 = f: list: genList (n: f (n + 1) (elemAt list n)) (length list);
             |                                ^
          348|

       … while calling anonymous lambda
         at /nix/store/4ggd0kb8as38xa0kr730qpnsa89df0x7-source/pkgs/stdenv/generic/make-derivation.nix:446:18:
          445|         imap1 (
          446|           index: dep:
             |                  ^
          447|           if dep == null || isDerivation dep || builtins.isString dep || builtins.isPath dep then

       … while evaluating a branch condition
         at /nix/store/4ggd0kb8as38xa0kr730qpnsa89df0x7-source/pkgs/stdenv/generic/make-derivation.nix:447:11:
          446|           index: dep:
          447|           if dep == null || isDerivation dep || builtins.isString dep || builtins.isPath dep then
             |           ^
          448|             dep

       … in the left operand of the OR (||) operator
         at /nix/store/4ggd0kb8as38xa0kr730qpnsa89df0x7-source/pkgs/stdenv/generic/make-derivation.nix:447:71:
          446|           index: dep:
          447|           if dep == null || isDerivation dep || builtins.isString dep || builtins.isPath dep then
             |                                                                       ^
          448|             dep

       … in the left operand of the OR (||) operator
         at /nix/store/4ggd0kb8as38xa0kr730qpnsa89df0x7-source/pkgs/stdenv/generic/make-derivation.nix:447:46:
          446|           index: dep:
          447|           if dep == null || isDerivation dep || builtins.isString dep || builtins.isPath dep then
             |                                              ^
          448|             dep

       … in the left operand of the OR (||) operator
         at /nix/store/4ggd0kb8as38xa0kr730qpnsa89df0x7-source/pkgs/stdenv/generic/make-derivation.nix:447:26:
          446|           index: dep:
          447|           if dep == null || isDerivation dep || builtins.isString dep || builtins.isPath dep then
             |                          ^
          448|             dep

       … while calling the 'elemAt' builtin
         at /nix/store/4ggd0kb8as38xa0kr730qpnsa89df0x7-source/lib/lists.nix:347:43:
          346|   */
          347|   imap1 = f: list: genList (n: f (n + 1) (elemAt list n)) (length list);
             |                                           ^
          348|

       … while evaluating the attribute 'apple_sdk.frameworks.Cocoa'
         at /nix/store/4ggd0kb8as38xa0kr730qpnsa89df0x7-source/pkgs/top-level/darwin-aliases.nix:59:13:
           58|   stubs = {
           59|     inherit apple_sdk apple_sdk_11_0 apple_sdk_12_3;
             |             ^
           60|   }

       … from call site
         at /nix/store/4ggd0kb8as38xa0kr730qpnsa89df0x7-source/pkgs/top-level/darwin-aliases.nix:52:20:
           51|
           52|   apple_sdk_11_0 = mkThrow "apple_sdk_11_0";
             |                    ^
           53|

       … while calling 'mkThrow'
         at /nix/store/4ggd0kb8as38xa0kr730qpnsa89df0x7-source/pkgs/top-level/darwin-aliases.nix:49:5:
           48|   mkThrow =
           49|     name:
             |     ^
           50|     throw "darwin.${name} has been removed as it was a legacy compatibility stub; see <https://nixos.org/manual/nixpkgs/stable/#sec-darwin-legacy-frameworks> for migration instructions";

       … while calling the 'throw' builtin
         at /nix/store/4ggd0kb8as38xa0kr730qpnsa89df0x7-source/pkgs/top-level/darwin-aliases.nix:50:5:
           49|     name:
           50|     throw "darwin.${name} has been removed as it was a legacy compatibility stub; see <https://nixos.org/manual/nixpkgs/stable/#sec-darwin-legacy-frameworks> for migration instructions";
             |     ^
           51|

       error: darwin.apple_sdk_11_0 has been removed as it was a legacy compatibility stub; see <https://nixos.org/manual/nixpkgs/stable/#sec-darwin-legacy-frameworks> for migration instructions

MacOS 26.3 arm

Steps to reproduce

above

Suspected cause

No response

This issue is unique

  • I have searched the issue tracker and did not find an issue describing my bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions