speedread: simplify installPhase
This commit is contained in:
parent
27367d6347
commit
9235c3c26b
1 changed files with 2 additions and 4 deletions
|
@ -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";
|
||||
|
@ -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; {
|
||||
|
|
Loading…
Reference in a new issue