build: package bat for NixOS
Author: KingBainCreated Feb 28, 2024Updated Mar 1, 2024
Labelsbug
Subject of the issue
Getting this error on NixOS when trying to make batter settings persist.
Running the command: sudo /opt/asus-bat-manager/bin/bat persist --debug
gives this output.
open /etc/systemd/system/bat-hibernate.service: read-only file system
goroutine 1 [running]:
runtime/debug.Stack()
/nix/store/ws97rhhdzacbl58y8crpvg517zqnbsll-go-1.21.5/share/go/src/runtime/debug/stack.go:24 +0x5e
main.main.func1()
/home/kingbain/bat/main_linux.go:156 +0x55
panic({0x52f700?, 0xc00011ca50?})
/nix/store/ws97rhhdzacbl58y8crpvg517zqnbsll-go-1.21.5/share/go/src/runtime/panic.go:920 +0x270
main.main()
/home/kingbain/bat/main_linux.go:222 +0x1230
Any chance you could create a nixos package ?
Source: tshakalekholoane/bat