Remove unused functions from lib
This commit is contained in:
parent
b39cea5554
commit
213f227220
|
@ -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 = {
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue