Fix the nix package build

This commit is contained in:
Alexander
2026-05-13 23:22:26 +02:00
parent 39622be117
commit e4bf557151
4 changed files with 14 additions and 5 deletions
-1
View File
@@ -18,7 +18,6 @@ result
.cargo/
.direnv/
.pre-commit-config.yaml
dist/
###
# Rust
+3 -3
View File
@@ -277,7 +277,7 @@ mod tests {
#[test]
fn test_event_type_name() {
let handler = WebhookHandler::new(vec![]);
let handler = WebhookHandler::new(vec![]).unwrap();
let event = Event::SyncStarted {
origin_id: OriginId::from("test"),
@@ -287,7 +287,7 @@ mod tests {
#[test]
fn test_matches_filter_empty() {
let handler = WebhookHandler::new(vec![]);
let handler = WebhookHandler::new(vec![]).unwrap();
let config = WebhookConfig {
url: "http://example.com".to_string(),
secret: None,
@@ -304,7 +304,7 @@ mod tests {
#[test]
fn test_matches_filter_specific() {
let handler = WebhookHandler::new(vec![]);
let handler = WebhookHandler::new(vec![]).unwrap();
let config = WebhookConfig {
url: "http://example.com".to_string(),
secret: None,
+11
View File
@@ -0,0 +1,11 @@
[Unit]
Description=MusicFS - Virtual FUSE Filesystem for Music
After=network.target
[Service]
ExecStart=/usr/bin/musicfs mount /mnt/music --origin /path/to/music
ExecStopPost=/usr/bin/fusermount -u /mnt/music
Restart=on-failure
[Install]
WantedBy=multi-user.target
-1
View File
@@ -13,7 +13,6 @@ rustPlatform.buildRustPackage (finalAttrs: {
cargoLock = {
lockFile = ./Cargo.lock;
};
cargoHash = lib.fakeHash;
nativeBuildInputs = with pkgs; [
pkg-config