fix: Don't install perf-tools on non-linux
This commit is contained in:
parent
08886afdac
commit
289f750e5b
|
@ -95,10 +95,12 @@
|
|||
# Formatters
|
||||
nixfmt
|
||||
python311Packages.mdformat
|
||||
] ++ buildInputs ++ nativeBuildInputs
|
||||
# Linux specific tools
|
||||
++ (lib.optionals pkgs.stdenv.isLinux [
|
||||
# Profiling
|
||||
perf-tools
|
||||
] ++ buildInputs ++ nativeBuildInputs
|
||||
++ map (x: self.packages.${system}.${x}) rustPackageNames;
|
||||
]) ++ map (x: self.packages.${system}.${x}) rustPackageNames;
|
||||
in rec {
|
||||
# Main binary
|
||||
packages.${crateName} = naersk-lib.buildPackage {
|
||||
|
|
Loading…
Reference in New Issue