Remove unused functions from lib

This commit is contained in:
Luc Perkins 2022-07-31 17:26:57 +02:00
parent b39cea5554
commit 213f227220
No known key found for this signature in database
GPG key ID: 4F102D0C16E232F2
2 changed files with 2 additions and 4 deletions

View file

@ -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 = {

View file

@ -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;