mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-06 04:53:27 +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
1.1 KiB
Diff
26 lines
1.1 KiB
Diff
diff -rc checkinstall-orig/checkinstall checkinstall/checkinstall
|
|
*** checkinstall-orig/checkinstall 2009-03-27 17:07:26.000000000 +0100
|
|
--- checkinstall/checkinstall 2009-04-14 16:34:08.000000000 +0200
|
|
***************
|
|
*** 2607,2615 ****
|
|
chmod 755 $BUILD_DIR/DEBIAN/postrm
|
|
fi
|
|
|
|
! # Tag files in /etc to be conffiles
|
|
find $BUILD_DIR/etc 2> /dev/null | sed -e "s,$BUILD_DIR,," | \
|
|
! grep -v '^/etc$' > $BUILD_DIR/DEBIAN/conffiles
|
|
|
|
# The package will be saved here (ignores <epoch>: prefix):
|
|
DEBPKG="${DIRECTORIO_FUENTE}/${NAME}_`echo ${VERSION} | sed -e 's/^[0123456789]*://'`-${RELEASE}_${ARCHITECTURE}.deb"
|
|
--- 2607,2616 ----
|
|
chmod 755 $BUILD_DIR/DEBIAN/postrm
|
|
fi
|
|
|
|
! # Tag non-directory files in /etc to be conffiles
|
|
find $BUILD_DIR/etc 2> /dev/null | sed -e "s,$BUILD_DIR,," | \
|
|
! (while read fn; do test ! -d "$BUILD_DIR/$fn" && echo "$fn"; done) \
|
|
! > $BUILD_DIR/DEBIAN/conffiles
|
|
|
|
# The package will be saved here (ignores <epoch>: prefix):
|
|
DEBPKG="${DIRECTORIO_FUENTE}/${NAME}_`echo ${VERSION} | sed -e 's/^[0123456789]*://'`-${RELEASE}_${ARCHITECTURE}.deb"
|