Skip to content

Commit

Permalink
metasploit-env: avoid top-level with in shell.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
philiptaron authored and fricklerhandwerk committed Jul 29, 2024
1 parent fc267a3 commit 1dfa4e2
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions pkgs/tools/security/metasploit/shell.nix
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 1dfa4e2

Please sign in to comment.