metasploit-env: avoid top-level with in shell.nix

This commit is contained in:
Philip Taron
2024-07-29 19:46:18 +02:00
committed by Valentin Gagarin
parent fc267a3eb3
commit 1dfa4e2a3f
+6 -4
View File
@@ -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