Remove unused functions from lib
This commit is contained in:
parent
b39cea5554
commit
213f227220
|
@ -41,9 +41,6 @@
|
||||||
inherit (pkgs.stdenv) isDarwin isLinux;
|
inherit (pkgs.stdenv) isDarwin isLinux;
|
||||||
in {
|
in {
|
||||||
inherit flake-utils nixpkgs;
|
inherit flake-utils nixpkgs;
|
||||||
|
|
||||||
darwinOnly = ls: optionals isDarwin ls;
|
|
||||||
linuxOnly = ls: optionals isLinux ls;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
templates = {
|
templates = {
|
||||||
|
|
|
@ -27,7 +27,8 @@
|
||||||
|
|
||||||
deps = with pkgs; [ openssl pkgconfig ];
|
deps = with pkgs; [ openssl pkgconfig ];
|
||||||
rustTools = with pkgs;
|
rustTools = with pkgs;
|
||||||
[ cargo-profiler rust-analyzer ] ++ optionals isLinux (with pkgs; [ cargo-watch ]);
|
[ cargo-profiler rust-analyzer ]
|
||||||
|
++ optionals isLinux (with pkgs; [ cargo-watch ]);
|
||||||
in {
|
in {
|
||||||
packages.default = rust;
|
packages.default = rust;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue