nix-serve does not build, because of missing pkgs.nix.perl-bindings.perl attribute #971

Closed
opened 2025-08-20 08:30:47 +00:00 by ramonacat · 4 comments
Member

Describe the bug

See the build log here: https://github.com/ramonacat/monorepo/actions/runs/17088338328/job/48456983093.

Steps To Reproduce

  1. Try to build nix-serve with the lix overlay

Expected behavior

nix-serve builds correctly

nix --version output

[root@hallewell:~]# nix --version
nix (Lix, like Nix) 2.94.0-dev-pre20250812-4a119e6
System type: x86_64-linux
Additional system types: i686-linux, x86_64-v1-linux, x86_64-v2-linux, x86_64-v3-linux
Features: gc, signed-caches
System configuration file: /etc/nix/nix.conf
User configuration files: /root/.config/nix/nix.conf:/etc/xdg/nix/nix.conf:/root/.nix-profile/etc/xdg/nix/nix.conf:/nix/profile/etc/xdg/nix/nix.conf:/root/.local/state/nix/profile/etc/xdg/nix/nix.conf:/etc/profiles/per-user/root/etc/xdg/nix/nix.conf:/nix/var/nix/profiles/default/etc/xdg/nix/nix.conf:/run/current-system/sw/etc/xdg/nix/nix.conf
Store directory: /nix/store
State directory: /nix/var/nix
Data directory: /nix/store/3fdby8sddy2cmgrfs86ysvrhfw66826w-lix-2.94.0-dev-pre20250812-4a119e6/share
## Describe the bug See the build log here: https://github.com/ramonacat/monorepo/actions/runs/17088338328/job/48456983093. ## Steps To Reproduce 1. Try to build nix-serve with the lix overlay ## Expected behavior nix-serve builds correctly ## `nix --version` output ``` [root@hallewell:~]# nix --version nix (Lix, like Nix) 2.94.0-dev-pre20250812-4a119e6 System type: x86_64-linux Additional system types: i686-linux, x86_64-v1-linux, x86_64-v2-linux, x86_64-v3-linux Features: gc, signed-caches System configuration file: /etc/nix/nix.conf User configuration files: /root/.config/nix/nix.conf:/etc/xdg/nix/nix.conf:/root/.nix-profile/etc/xdg/nix/nix.conf:/nix/profile/etc/xdg/nix/nix.conf:/root/.local/state/nix/profile/etc/xdg/nix/nix.conf:/etc/profiles/per-user/root/etc/xdg/nix/nix.conf:/nix/var/nix/profiles/default/etc/xdg/nix/nix.conf:/run/current-system/sw/etc/xdg/nix/nix.conf Store directory: /nix/store State directory: /nix/var/nix Data directory: /nix/store/3fdby8sddy2cmgrfs86ysvrhfw66826w-lix-2.94.0-dev-pre20250812-4a119e6/share ```
Owner

hmmm this should probably be considered a bug indeed. normally i wouldn't give a damn about whether we're compatible with whatever cppnix did to their derivation (as normally it only matters if you're trying to link c++ code to lix which will require much more work than that) but Perl bindings not being available via the correct path is eminently fixable.

please check also if this is broken with lixFromNixpkgs.

concretely, to fix:

  • submit CL to lix to fix our perl bindings packaging
  • submit PR to nixpkgs to fix it in our nixpkgs packaging of our perl bindings ..... is there any? i have no idea.
hmmm this should probably be considered a bug indeed. normally i wouldn't give a damn about whether we're compatible with whatever cppnix did to their derivation (as normally it only matters if you're trying to link c++ code to lix which will require much more work than that) but Perl bindings not being available via the correct path is eminently fixable. please check also if this is broken with lixFromNixpkgs. concretely, to fix: - submit CL to lix to fix our perl bindings packaging - submit PR to nixpkgs to fix it in our nixpkgs packaging of our perl bindings ..... is there any? i have no idea.
jade self-assigned this 2025-08-21 21:20:28 +00:00
Owner

we apparently need to package our perl bindings in nixpkgs also: #976

we apparently need to package our perl bindings in nixpkgs also: https://git.lix.systems/lix-project/lix/issues/976
Member

This issue was mentioned on Gerrit on the following CLs:

  • commit message in cl/4043 ("perl: passthru perl")
<!-- GERRIT_LINKBOT: {"cls": [{"backlink": "https://gerrit.lix.systems/c/lix/+/4043", "number": 4043, "kind": "commit message"}], "cl_meta": {"4043": {"change_title": "perl: passthru perl"}}} --> This issue was mentioned on Gerrit on the following CLs: * commit message in [cl/4043](https://gerrit.lix.systems/c/lix/+/4043) ("perl: passthru perl")
Owner

06c1e229ac okay this is probably a waste of time anyway. nevertheless i fixed the packaging because that was a problem if we want to distribute e.g. lix hydra.

https://github.com/edolstra/nix-serve/commit/06c1e229ac647cf9733af509e83a8407c6141006 okay this is probably a waste of time anyway. nevertheless i fixed the packaging because that *was* a problem if we want to distribute e.g. lix hydra.
jade closed this issue 2025-08-21 21:53:21 +00:00
lix-project referenced this issue from a commit 2025-08-22 02:13:18 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
3 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#971
No description provided.