mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 11:23:29 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
26 lines
743 B
Diff
26 lines
743 B
Diff
From 3b047ab4271919856ae0a3dee3a03a24045c0016 Mon Sep 17 00:00:00 2001
|
|
From: Paul Meyer <49727155+katexochen@users.noreply.github.com>
|
|
Date: Mon, 13 Nov 2023 20:24:54 +0000
|
|
Subject: [PATCH] don't sanatize the environment
|
|
|
|
---
|
|
checksec | 3 ---
|
|
1 file changed, 3 deletions(-)
|
|
|
|
diff --git a/checksec b/checksec
|
|
index 4fc3c31..135223a 100755
|
|
--- a/checksec
|
|
+++ b/checksec
|
|
@@ -2,9 +2,6 @@
|
|
# Do not edit this file directly, this file is generated from the files
|
|
# in the src directory. Any updates to this file will be overwritten when generated
|
|
|
|
-# sanitize the environment before run
|
|
-[[ "$(env | /bin/sed -r -e '/^(PWD|SHLVL|_)=/d')" ]] && exec -c "$0" "$@"
|
|
-
|
|
# --- Modified Version ---
|
|
# Name : checksec.sh
|
|
# Version : 1.7.0
|
|
--
|
|
2.42.0
|