1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 19:51:17 +00:00

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

This commit is contained in:
Philip Taron 2024-07-15 21:32:34 -07:00 committed by Valentin Gagarin
parent fc267a3eb3
commit 1dfa4e2a3f

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