mirror of
https://github.com/JakeStanger/ironbar.git
synced 2026-07-11 07:15:19 +01:00
[GH-ISSUE #520] When setting "features" through HomeManager config in Nix, cargo throws an error #168
Labels
No labels
A:Build
A:CI
A:Client
A:Config
A:Core
A:Documentation
A:Documentation
A:IPC
A:Testing
A:UX/UI
blocked
BREAKING CHANGE
duplicate
good first issue
GTK4
help wanted
invalid
M:Battery
M:Battery
M:Bindmode
M:Bluetooth
M:Brightness
M:Cairo
M:Clipboard
M:Clock
M:Clock
M:Custom
M:Focused
M:Keyboard
M:Launcher
M:Menu
M:Music
M:Music
M:Music
M:Network Manager
M:Notifications
M:SysInfo
M:Tray
M:Volume
M:Workspaces
partially resolved
P:Critical
P:High
P:Low
P:Medium
pull-request
T:Bug
T:Bug
T:Core Enhancement
T:Module Enhancement
T:New Module
T:Question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
JakeStanger/ironbar#168
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tukanoidd on GitHub (Mar 31, 2024).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/520
Describe the bug
When I set the "features" option in
programs.ironbar.features, I get a build error:To Reproduce
Steps to reproduce the behavior:
programs.ironbar.featuresto something else than[]Expected behavior
Project builds.
System information:
Configuration
Additional Context
I made sure to run nix flake update and try to build again in case the bug was fixed, but it wasn't.
I also took a look into
default.nixand all does seem good, so I'm not sure if it's the ironbar flake or naersk issue, so sorry if this issue is not relevant here.Screenshots

@JakeStanger commented on GitHub (Mar 31, 2024):
I think this is because the naersk builder was using the wrong option for passing build flags. I've amended that in the PR above - is this something you're able to confirm resolves the issue please?
I presume you'll need to overwrite the derivation or something? Not sure how that works with Nix.
@tukanoidd commented on GitHub (Apr 1, 2024):
Will try, although I'm not sure how to use the PR version as the input, haven't done it before, need to check first, will lyk as soon as I get some results
@tukanoidd commented on GitHub (Apr 1, 2024):
Ok, found it, and the build does seem to go through, thanks for the fix!
@JakeStanger commented on GitHub (Apr 1, 2024):
Perfect, thanks for testing that. Merged so you can target master now.
@tukanoidd commented on GitHub (Apr 1, 2024):
Thanks!