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;