summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--derivation.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/derivation.nix b/derivation.nix
index fbaa95e..33e57d6 100644
--- a/derivation.nix
+++ b/derivation.nix
@@ -16,6 +16,15 @@ rustPlatform.buildRustPackage rec {
16 cp target/release/build/set_eq-*/out/_set_eq "$out/share/zsh/site-functions/" 16 cp target/release/build/set_eq-*/out/_set_eq "$out/share/zsh/site-functions/"
17 ''; 17 '';
18 18
19 checkPhase = ''
20 runHook preCheck
21
22 echo "Running cargo test --release"
23 cargo test --release
24
25 runHook postCheck
26 '';
27
19 meta = with stdenv.lib; { 28 meta = with stdenv.lib; {
20 description = "A command-line tool to manipulate PulseAudio's equalizer"; 29 description = "A command-line tool to manipulate PulseAudio's equalizer";
21 homepage = https://github.com/minijackson/set_eq; 30 homepage = https://github.com/minijackson/set_eq;