mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +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.
39 lines
1.2 KiB
Diff
39 lines
1.2 KiB
Diff
--- ats-lang-anairiats-0.2.11/Makefile 2013-12-10 00:43:52.000000000 +0100
|
|
+++ ats-lang-anairiats-0.2.11/Makefile 2014-03-02 07:49:06.985837425 +0100
|
|
@@ -97,7 +97,7 @@
|
|
cd $(abs_top_srcdir)
|
|
[ -d $(bindir2) ] || $(MKDIR_P) $(bindir2)
|
|
$(MKDIR_P) $(ATSLIBHOME2)/bin
|
|
- find ccomp contrib doc libats libc prelude -type d \
|
|
+ find ccomp contrib doc libats libatsdoc libc prelude -type d \
|
|
-exec $(MKDIR_P) $(ATSLIBHOME2)/\{} \; \
|
|
-print
|
|
|
|
@@ -105,7 +105,7 @@
|
|
#
|
|
# recursively install all files in the list except .svn control files.
|
|
#
|
|
- for d in ccomp/runtime contrib doc libats libc prelude; do \
|
|
+ for d in ccomp/runtime contrib doc libats libatsdoc libc prelude; do \
|
|
cd $(abs_top_srcdir) && \
|
|
$(INSTALL) -d $(ATSLIBHOME2)/"$$d" && \
|
|
find "$$d" -name .svn -prune -o -type f \
|
|
@@ -143,6 +143,17 @@
|
|
$(INSTALL) -m 755 ats_env.sh $(bindir2)/"$$b" && \
|
|
echo [ats_env.sh] is installed into $(bindir2)/"$$b"; \
|
|
done
|
|
+#
|
|
+# install atsdoc headers
|
|
+#
|
|
+ for f in \
|
|
+ utils/atsdoc/SATS/*.sats utils/atsdoc/DATS/*.dats utils/atsdoc/HATS/*.hats; \
|
|
+ do \
|
|
+ [ -f "$$f" ] || continue; \
|
|
+ cd $(abs_top_srcdir) && \
|
|
+ $(INSTALL) -m 644 -D "$$f" $(ATSLIBHOME2)/"$$f" && \
|
|
+ echo "$$f"; \
|
|
+ done
|
|
|
|
install:: install_files
|
|
|