aboutsummaryrefslogtreecommitdiff
path: root/pkgs/tools/networking/hans
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>2015-07-30 18:00:14 +0200
committerTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>2015-07-31 02:02:07 +0200
commit6c6201a99bb52e96d7c10365dbcf67f6cafdfe2c (patch)
tree9f7bd2fec1937f8f8de2446ebe0576e2de5a8609 /pkgs/tools/networking/hans
parenta010a30889d154321081a3e7b8bf6d6ecfbe51e4 (diff)
Remove unnecessary rec{s from "my" packages
Diffstat (limited to 'pkgs/tools/networking/hans')
-rw-r--r--pkgs/tools/networking/hans/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/networking/hans/default.nix b/pkgs/tools/networking/hans/default.nix
index c4f7c8da9d4..31a47d2e441 100644
--- a/pkgs/tools/networking/hans/default.nix
+++ b/pkgs/tools/networking/hans/default.nix
@@ -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;