
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.
13 lines
583 B
Diff
13 lines
583 B
Diff
diff -Naur libjson-orig/makefile libjson/makefile
|
|
--- libjson-orig/makefile 2012-05-30 05:15:42.000000000 -0400
|
|
+++ libjson/makefile 2013-08-15 09:17:41.154245534 -0400
|
|
@@ -266,7 +266,7 @@
|
|
cp -r ./$(srcdir)/JSONDefs $(include_path)/$(libname_hdr)/$(srcdir)
|
|
chmod -R a+r $(include_path)/$(libname_hdr)
|
|
find $(include_path)/$(libname_hdr) -type d -exec chmod a+x {} \;
|
|
- cp -rv $(srcdir)/Dependencies/ $(include_path)/$(libname_hdr)/$(srcdir)
|
|
+ cp -rv $(srcdir)/../Dependencies/ $(include_path)/$(libname_hdr)/$(srcdir)/..
|
|
@echo "Install header files: Done."
|
|
|
|
clean: banner
|