mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-05-23 06:56:52 +02:00
refactor: use lib.optionals instead of if...then...else...
This commit is contained in:
@@ -129,9 +129,7 @@
|
||||
(ripgrep.override {withPCRE2 = true;}) # recursively searches directories for a regex pattern
|
||||
]
|
||||
++ (
|
||||
if pkgs.stdenv.isDarwin
|
||||
then []
|
||||
else [
|
||||
lib.optionals pkgs.stdenv.isLinux [
|
||||
#-- verilog / systemverilog
|
||||
verible
|
||||
gdb
|
||||
|
||||
Reference in New Issue
Block a user