summary refs log tree commit diff
path: root/pkgs/tools/networking/http-prompt/default.nix
diff options
context:
space:
mode:
authorMarkus Hauck <markus1189@gmail.com>2017-12-18 20:39:12 +0100
committerMarkus Hauck <markus1189@gmail.com>2017-12-19 19:09:52 +0100
commit6bb181799952bd0635fed9aac69ffe118e4fb112 (patch)
tree3b7bdd9ec2e8e264e25368760fdfed09c72611f6 /pkgs/tools/networking/http-prompt/default.nix
parent65fb15aaf8b4de22b846bb6de5c5d34c110ece84 (diff)
downloadnixpkgs-6bb181799952bd0635fed9aac69ffe118e4fb112.tar
nixpkgs-6bb181799952bd0635fed9aac69ffe118e4fb112.tar.gz
nixpkgs-6bb181799952bd0635fed9aac69ffe118e4fb112.tar.bz2
nixpkgs-6bb181799952bd0635fed9aac69ffe118e4fb112.tar.lz
nixpkgs-6bb181799952bd0635fed9aac69ffe118e4fb112.tar.xz
nixpkgs-6bb181799952bd0635fed9aac69ffe118e4fb112.tar.zst
nixpkgs-6bb181799952bd0635fed9aac69ffe118e4fb112.zip
http-prompt: disable tests
The http-prompt tests do something with files, which leads to
permission errors during test execution.

For now replace the check with a executable sanity check
Diffstat (limited to 'pkgs/tools/networking/http-prompt/default.nix')
-rw-r--r--pkgs/tools/networking/http-prompt/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/tools/networking/http-prompt/default.nix b/pkgs/tools/networking/http-prompt/default.nix
index 83ad64a66a4..fd7caf92765 100644
--- a/pkgs/tools/networking/http-prompt/default.nix
+++ b/pkgs/tools/networking/http-prompt/default.nix
@@ -20,6 +20,10 @@ pythonPackages.buildPythonApplication rec {
     six
   ];
 
+  checkPhase = ''
+    $out/bin/${name} --version | grep -q "${version}"
+  '';
+
   meta = with stdenv.lib; {
     description = "An interactive command-line HTTP client featuring autocomplete and syntax highlighting";
     homepage = https://github.com/eliangcs/http-prompt;