diff --git a/flake.nix b/flake.nix index ddc1f73..3acd8a3 100644 --- a/flake.nix +++ b/flake.nix @@ -41,9 +41,6 @@ inherit (pkgs.stdenv) isDarwin isLinux; in { inherit flake-utils nixpkgs; - - darwinOnly = ls: optionals isDarwin ls; - linuxOnly = ls: optionals isLinux ls; }; templates = { diff --git a/rust/flake.nix b/rust/flake.nix index 5e0f7b1..e069385 100644 --- a/rust/flake.nix +++ b/rust/flake.nix @@ -27,7 +27,8 @@ deps = with pkgs; [ openssl pkgconfig ]; rustTools = with pkgs; - [ cargo-profiler rust-analyzer ] ++ optionals isLinux (with pkgs; [ cargo-watch ]); + [ cargo-profiler rust-analyzer ] + ++ optionals isLinux (with pkgs; [ cargo-watch ]); in { packages.default = rust;