summary refs log tree commit diff
path: root/pkgs/development/idris-modules/specdris.nix
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2018-02-15 10:11:45 -0500
committerShea Levy <shea@shealevy.com>2018-02-15 10:11:45 -0500
commit017154391b4a2a4e418640d3a7677274fe981dc9 (patch)
tree4b9c8082bc2cd0167f7544b86d15fb7aa5155f79 /pkgs/development/idris-modules/specdris.nix
parent8d7b069ea68464e3e0c5469f84a015967b100f51 (diff)
parent947e7d80b41d9dea1739c23bf512f26d1c30703b (diff)
downloadnixlib-017154391b4a2a4e418640d3a7677274fe981dc9.tar
nixlib-017154391b4a2a4e418640d3a7677274fe981dc9.tar.gz
nixlib-017154391b4a2a4e418640d3a7677274fe981dc9.tar.bz2
nixlib-017154391b4a2a4e418640d3a7677274fe981dc9.tar.lz
nixlib-017154391b4a2a4e418640d3a7677274fe981dc9.tar.xz
nixlib-017154391b4a2a4e418640d3a7677274fe981dc9.tar.zst
nixlib-017154391b4a2a4e418640d3a7677274fe981dc9.zip
Merge branch 'idris-packaging' of git://github.com/mpickering/nixpkgs
Diffstat (limited to 'pkgs/development/idris-modules/specdris.nix')
-rw-r--r--pkgs/development/idris-modules/specdris.nix20
1 files changed, 5 insertions, 15 deletions
diff --git a/pkgs/development/idris-modules/specdris.nix b/pkgs/development/idris-modules/specdris.nix
index e6ca49aa489a..e20af3752371 100644
--- a/pkgs/development/idris-modules/specdris.nix
+++ b/pkgs/development/idris-modules/specdris.nix
@@ -11,7 +11,8 @@ let
   date = "2017-11-11";
 in
 build-idris-package {
-  name = "specdris-${date}";
+  name = "specdris";
+  version = date;
 
   src = fetchgit {
     url = "https://github.com/pheymann/specdris";
@@ -19,21 +20,10 @@ build-idris-package {
     sha256 = "4813c4be1d4c3dd1dad35964b085f83cf9fb44b16824257c72b468d4bafd0e4f";
   };
 
-  propagatedBuildInputs = [ prelude base effects ];
+  idrisDeps = [ prelude base effects idris ];
 
-  buildPhase = ''
-    ${idris}/bin/idris --build specdris.ipkg
-  '';
-
-  checkPhase = ''
-      cd test/
-      ${idris}/bin/idris --testpkg test.ipkg
-      cd ../
-    '';
-
-  installPhase = ''
-    ${idris}/bin/idris --install specdris.ipkg --ibcsubdir $IBCSUBDIR
-  '';
+  # The tests attribute is very strange as the tests are a different ipkg
+  doCheck = false;
 
   meta = {
     description = "A testing library for Idris";