Permalink
Browse files

Add a config.nix to patch nixpkgs with local changes (1st change: wor…

…karound nmap/nmap#34 )
  • Loading branch information...
Dario Bertini
Dario Bertini committed Apr 11, 2015
1 parent 419527f commit 5fea79878c0c043d3e8e808c035da644ad3223b3
Showing with 13 additions and 2 deletions.
  1. +2 −1 deploy.py
  2. +10 −0 nixpkgs/config.nix
  3. +1 −1 packages.nix
@@ -100,7 +100,8 @@ def copy_ghciconf(src, target):
['ghci.conf', '.ghci', path.join(appdata, 'ghc', 'ghci.conf'), copy_ghciconf],
['lighttable', path.join(appsupport or cfg_dir, 'LightTable', 'settings'), None, symlink],
['lein-profile.clj', path.join('.lein', 'profiles.clj'), None, symlink],
['powershell.ps1', None, path.join(home, "Documents", "WindowsPowerShell", "profile.ps1"), symlink]
['powershell.ps1', None, path.join(home, "Documents", "WindowsPowerShell", "profile.ps1"), symlink],
['nixpkgs', '.nixpkgs', None, symlink]
]
dotfiles = map(
@@ -0,0 +1,10 @@
{
packageOverrides = pkgs: rec {
libpcap = pkgs.stdenv.lib.overrideDerivation pkgs.libpcap (oldAttrs: {
src = pkgs.fetchurl {
url = "http://www.tcpdump.org/release/libpcap-1.4.0.tar.gz";
sha256 = "7c6a2a4f71e8ab09804e6b4fb3aff998c5583108ac42c0e2967eee8e1dbc7406";
};
});
};
}
@@ -57,6 +57,7 @@ with (import <nixpkgs> {}).pkgs;
gist
# pentest
nmap
net_snmp
] ++
(with (import <nixtrunk> {});
@@ -65,5 +66,4 @@ with (import <nixpkgs> {}).pkgs;
haskellPackages.hoogleLocal
haskellngPackages.cabal2nix
iojs
nmap
])

0 comments on commit 5fea798

Please sign in to comment.