mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 09:43:14 +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.
24 lines
693 B
Diff
24 lines
693 B
Diff
--- a/configure
|
|
+++ b/configure
|
|
@@ -327,9 +327,9 @@
|
|
SNOLIB_LOCAL="$SNOLIB/local"
|
|
SNOLIB_DOC="$SNOLIB"
|
|
# XXX use $PREFIX/include/snobol4 ???
|
|
-INCLUDE_DIR="$SNOLIB/include"
|
|
+INCLUDE_DIR="$PREFIX"/include/snolib4
|
|
|
|
-DOC_DIR="$PREFIX/share/doc/snobol4-$VERSION"
|
|
+DOC_DIR="$doc/share/doc/snobol4-$VERSION"
|
|
|
|
echo 'BINDIR=$(DESTDIR)'"$BINDIR" >> $CONFIG_M4
|
|
echo 'MANDIR=$(DESTDIR)'"$MANDIR" >> $CONFIG_M4
|
|
@@ -2110,7 +2110,7 @@
|
|
# IRIX /sbin/install
|
|
|
|
# should always find ./install-sh
|
|
-for DIR in /usr/bin /usr/ucb /usr/local/bin /bin .; do
|
|
+for DIR in `echo $PATH | tr ':' ' '`; do
|
|
for INSTALL in install ginstall scoinst install-sh; do
|
|
IPATH=$DIR/$INSTALL
|
|
if [ -d $IPATH ]; then
|