install fsatrace if the shell is linux

This commit is contained in:
Brian Hicks 2020-10-28 16:31:24 -05:00
parent a2edcdd2ac
commit 81366be950

View File

@ -3,7 +3,6 @@ let
nixpkgs = import sources.nixpkgs { };
niv = import sources.niv { };
in with nixpkgs;
stdenv.mkDerivation {
name = "noredink-ui";
buildInputs = [
@ -22,5 +21,5 @@ stdenv.mkDerivation {
# preview dependencies
entr
python3
];
] ++ lib.optionals stdenv.isLinux [ pkgs.fsatrace ];
}