From 19e26b476baf46b27eb49d8d5d6fcff3cbd9dac9 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Fri, 1 May 2026 15:23:51 +0200 Subject: [PATCH] nix cleanups --- nix/module.nix | 2 +- nix/package.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nix/module.nix b/nix/module.nix index 42eb546..903d14a 100644 --- a/nix/module.nix +++ b/nix/module.nix @@ -87,7 +87,7 @@ in { # symlink instead of passing `configFile` directly to netnsd to allow changing the config without changing the path environment.etc."netnsd/netnsd.toml".source = configFile; - environment.systemPackages = with pkgs; [cfg.package]; + environment.systemPackages = [cfg.package]; systemd.services.netnsd = { reloadTriggers = [configFile]; diff --git a/nix/package.nix b/nix/package.nix index 382e08e..6afae2d 100644 --- a/nix/package.nix +++ b/nix/package.nix @@ -12,7 +12,7 @@ rustc = rust-bin.stable.latest.minimal; }; in - rustPlatform.buildRustPackage rec { + rustPlatform.buildRustPackage { pname = cargoPackage.name; inherit (cargoPackage) version;