2 files changed, 14 insertions(+), 14 deletions(-)

M default.nix
R shell.nix => 
M default.nix +14 -4
@@ 1,13 1,23 @@ 
-{ pkgs ? import <nixpkgs> {},
-  rust ? pkgs.rustPlatform }:
+{ pkgs ? import <nixpkgs> {}
+, buildRustPackage ? (import (pkgs.fetchFromBitbucket {
+    owner = "dermetfan";
+    repo = "nixpkgs-extras";
+    rev = "89ff12eeae4d9f38a3231c2cc1986f7157d374d8";
+    sha256 = "15n3919hfs76lqn5gdcfa8plba1di777s23x6yv5a03cjkbnswcw";
+  })).buildRustPackage {
+    inherit pkgs;
+  } }:
 
-rust.buildRustPackage {
+buildRustPackage {
   name = "cursedlife";
+
   src = ./.;
+
   buildInputs = with pkgs; [
     ncurses
   ];
-  depsSha256 = "";
+
+  doCheck = true;
 
   meta.maintainers = [ "serverkorken@gmail.com" ];
 }

          
R shell.nix =>  +0 -10
@@ 1,10 0,0 @@ 
-{ pkgs ? import <nixpkgs> {} }:
-
-pkgs.stdenv.mkDerivation {
-  name = "cursedlife-env";
-  buildInputs = with pkgs; [
-    ncurses
-  ];
-
-  RUST_BACKTRACE = 1;
-}