Remove unnecessary rec{s from "my" packages

This commit is contained in:
Tobias Geerinckx-Rice
2015-07-31 02:02:07 +02:00
parent a010a30889
commit 6c6201a99b
16 changed files with 20 additions and 19 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, nettools }:
let version = "0.4.4"; in
stdenv.mkDerivation rec {
stdenv.mkDerivation {
name = "hans-${version}";
src = fetchFromGitHub {
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
buildInputs = [ nettools ];
postPatch = ''
substituteInPlace src/tun.cpp --replace "/sbin/" "/${nettools}/bin/"
substituteInPlace src/tun.cpp --replace "/sbin/" "${nettools}/bin/"
'';
enableParallelBuilding = true;