mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-04 14:00:04 +00:00
dpkg: enable strictDeps, enable structuredAttrs (#555369)
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
diffutils,
|
||||
versionCheckHook,
|
||||
glibc,
|
||||
bashNonInteractive,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
@@ -113,7 +114,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
xz
|
||||
zstd
|
||||
libmd
|
||||
bashNonInteractive
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
makeWrapper
|
||||
perl
|
||||
@@ -121,6 +124,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
pkg-config
|
||||
];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
postInstall = ''
|
||||
for i in $out/bin/*; do
|
||||
if head -n 1 $i | grep -q perl; then
|
||||
@@ -138,6 +143,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
setupHook = ./setup-hook.sh;
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
meta = {
|
||||
description = "Debian package manager";
|
||||
homepage = "https://wiki.debian.org/Teams/Dpkg";
|
||||
|
||||
Reference in New Issue
Block a user