Remove unnecessary rec{s from "my" packages
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user