Eval failure of devShells.x86_64-linux.x86_64-freebsd13 in Lix #277

Closed
opened 2024-05-07 01:45:39 +00:00 by jade · 3 comments
Owner
error:
       … while checking flake output 'devShells'
         at /nix/store/hk5h1bd2h6rk1b9lg3a0cm1n4mf72yi3-source/flake.nix:442:7:
          441|
          442|       devShells =
             |       ^
          443|         let

       … while checking the derivation 'devShells.x86_64-linux.x86_64-freebsd13'
         at /nix/store/w536wc514bd4scd6dmiaq41xzdxg4a1x-source/lib/attrsets.nix:560:20:
          559|     value:
          560|     { inherit name value; };
             |                    ^
          561|

       (stack trace truncated; use '--show-trace' to show the full trace)

       error: attribute 'targetPrefix' missing
       at /nix/store/w536wc514bd4scd6dmiaq41xzdxg4a1x-source/pkgs/development/compilers/ghc/9.4.8.nix:235:46:
          234|     export READELF="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}readelf"
          235|     export STRIP="${bintoolsFor.strip}/bin/${bintoolsFor.strip.targetPrefix}strip"
             |                                              ^
          236|   '' + lib.optionalString (stdenv.targetPlatform.linker == "cctools") ''

commit f75d0752ce

cc @artemist

``` error: … while checking flake output 'devShells' at /nix/store/hk5h1bd2h6rk1b9lg3a0cm1n4mf72yi3-source/flake.nix:442:7: 441| 442| devShells = | ^ 443| let … while checking the derivation 'devShells.x86_64-linux.x86_64-freebsd13' at /nix/store/w536wc514bd4scd6dmiaq41xzdxg4a1x-source/lib/attrsets.nix:560:20: 559| value: 560| { inherit name value; }; | ^ 561| (stack trace truncated; use '--show-trace' to show the full trace) error: attribute 'targetPrefix' missing at /nix/store/w536wc514bd4scd6dmiaq41xzdxg4a1x-source/pkgs/development/compilers/ghc/9.4.8.nix:235:46: 234| export READELF="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}readelf" 235| export STRIP="${bintoolsFor.strip}/bin/${bintoolsFor.strip.targetPrefix}strip" | ^ 236| '' + lib.optionalString (stdenv.targetPlatform.linker == "cctools") '' ``` commit f75d0752ce8fa156feb92b2b31f4f3326f65476b cc @artemist
jade added the
bug
Area/build-packaging
labels 2024-05-07 01:45:47 +00:00
Member

There's a lot of FreeBSD changes in nixpkgs in progress, one of the biggest ones is that we removed the FreeBSD version from the target string (it should be x86_64-freebsd now). However, these haven't been applied to 23.11. Any FreeBSD development should happen using 24.05 or unstable.

There's a lot of FreeBSD changes in nixpkgs in progress, one of the biggest ones is that we removed the FreeBSD version from the target string (it should be x86_64-freebsd now). However, these haven't been applied to 23.11. Any FreeBSD development should happen using 24.05 or unstable.
Author
Owner

alright, would you say the move is then to remove the devshell, leaving a FIXME? i think that is probably the most reasonable move, probably.

alright, would you say the move is then to remove the devshell, leaving a FIXME? i think that is probably the most reasonable move, probably.
Member

Yes, that's probably a good idea. You'll need changes to lix to build for FreeBSD anyway (A -Wl,--allow-undefined option because environ is undefined in libc, among others)

Yes, that's probably a good idea. You'll need changes to lix to build for FreeBSD anyway (A `-Wl,--allow-undefined` option because environ is undefined in libc, among others)
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/lix#277
No description provided.