metasploit-env: avoid top-level with in shell.nix
This commit is contained in:
committed by
Valentin Gagarin
parent
fc267a3eb3
commit
1dfa4e2a3f
@@ -1,9 +1,11 @@
|
||||
# Env to update Gemfile.lock / gemset.nix
|
||||
with import <nixpkgs> {};
|
||||
stdenv.mkDerivation {
|
||||
{
|
||||
pkgs ? import ../../../.. { },
|
||||
}:
|
||||
pkgs.stdenv.mkDerivation {
|
||||
name = "env";
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [
|
||||
nativeBuildInputs = [ pkgs.pkg-config ];
|
||||
buildInputs = with pkgs; [
|
||||
bundix
|
||||
git
|
||||
libiconv
|
||||
|
||||
Reference in New Issue
Block a user