Skip to content

Commit

Permalink
speedread: simplify installPhase
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 committed Mar 6, 2017
1 parent 27367d6 commit 9235c3c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions pkgs/applications/misc/speedread/default.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{ stdenv, fetchFromGitHub, perl }:

stdenv.mkDerivation rec {
version = "git-2016-09-21";
name = "speedread-${version}";
name = "speedread-unstable-2016-09-21";

src = fetchFromGitHub {
owner = "pasky";
Expand All @@ -14,8 +13,7 @@ stdenv.mkDerivation rec {
buildInputs = [ perl ];

installPhase = ''
mkdir -p $out/bin
mv speedread $out/bin
install -m755 -D speedread $out/bin/speedread
'';

meta = with stdenv.lib; {
Expand Down

0 comments on commit 9235c3c

Please sign in to comment.