aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2023-08-29 16:00:36 +0200
committerWojtek Kosior <koszko@koszko.org>2023-08-29 16:06:49 +0200
commitde2ece0ec785b7187e24fa43d1c00465a290443d (patch)
tree6d0bd58f1e013ad8d9e53bb203db436e7470f9b7
parentd16a726e958aa78d5d9f3515eb18b589e27bdac1 (diff)
downloadhaketilo-hydrilla-de2ece0ec785b7187e24fa43d1c00465a290443d.tar.gz
haketilo-hydrilla-de2ece0ec785b7187e24fa43d1c00465a290443d.zip
Make sure Makefile's 'dist' target can also be run with newer Guix
-rw-r--r--Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 5ee80ec..ca95a75 100644
--- a/Makefile
+++ b/Makefile
@@ -13,9 +13,12 @@ GUIX_COMMIT := a86979b41a49a8fcdaa887970ba594dbba701226
GUIX_TM = $(GUIX) time-machine --commit=$(GUIX_COMMIT) --
-GUIX_PACKAGE_SELECTION_FLAGS = -f guix.scm
+GUIX_FULL_PACKAGE_FLAGS = -f guix.scm
+GUIX_MINIMAL_PACKAGE_FLAGS = -e '(@ (hydrilla-base) hydrilla-without-haketilo)' -L ./guix-module-dir
+GUIX_PACKAGE_SELECTION_FLAGS = $(GUIX_FULL_PACKAGE_FLAGS)
GUIX_DEVSHELL = $(GUIX_TM) shell -D $(GUIX_PACKAGE_SELECTION_FLAGS) --
+GUIX_MINIMAL_DEVSHELL = $(GUIX_TM) shell -D $(GUIX_MINIMAL_PACKAGE_FLAGS) --
GET_VER = $$(grep '^Version:' src/hydrilla.egg-info/PKG-INFO | cut -d' ' -f2)
RECORD_VER = VER="$(GET_VER)"
@@ -40,7 +43,7 @@ wheel:
# Make a source tarball and repack in a deterministic way so that its
# reproducible.
dist src/hydrilla/_version.py:
- $(GUIX_DEVSHELL) python3 -m build -s
+ $(GUIX_MINIMAL_DEVSHELL) python3 -m build -s
$(RECORD_VER) && \
RELNAME=hydrilla-"$$VER" && \
DISTFILE=dist/"$$RELNAME".tar.gz && \
@@ -110,7 +113,7 @@ shell-with-haketilo: dist
.PHONY:
shell-with-hydrilla-only:
$(MAKE) shell-with-haketilo \
- GUIX_PACKAGE_SELECTION_FLAGS="-e '(@ (hydrilla-base) hydrilla-without-haketilo)' -L ./guix-module-dir"
+ GUIX_PACKAGE_SELECTION_FLAGS="$(GUIX_MINIMAL_PACKAGE_FLAGS)"
catalogs:
$(GUIX_DEVSHELL) python3 setup.py compile_catalog
f (CONFIG_CRYPTO_CRC32C): Change from 'm' to 'y'. Mark H Weaver 2019-01-09gnu: linux-libre: Enable pressure stall information.•••* gnu/packages/aux-files/linux-libre/4.20-arm.conf, gnu/packages/aux-files/linux-libre/4.20-arm64.conf, gnu/packages/aux-files/linux-libre/4.20-i686.conf, gnu/packages/aux-files/linux-libre/4.20-x86_64.conf: Enable CONFIG_PSI. Mark H Weaver 2019-01-01gnu: linux-libre: Update to 4.20, while retaining 4.19 LTS.•••* gnu/packages/linux.scm (%linux-libre-version): Update to 4.20. (%linux-libre-hash): Update hash. (%linux-libre-4.20-patches): New variable. (linux-libre): Use %linux-libre-4.20-patches. (%linux-libre-4.19-version, %linux-libre-4.19-hash) (%linux-libre-4.19-patches, linux-libre-4.19): New variables. (linux-libre-arm-generic, linux-libre-arm-omap2plus): Use %linux-libre-4.20-patches. (linux-libre-arm-generic-4.19, linux-libre-arm-omap2plus-4.19): New variables. * gnu/packages/aux-files/linux-libre/4.20-arm.conf, gnu/packages/aux-files/linux-libre/4.20-arm64.conf, gnu/packages/aux-files/linux-libre/4.20-i686.conf, gnu/packages/aux-files/linux-libre/4.20-x86_64.conf: New files. * Makefile.am (AUX_FILES): Add them. Mark H Weaver 2018-10-28gnu: linux-libre: Enable BOCHS DRM support.•••* gnu/packages/aux-files/linux-libre/4.19-x86_64.conf: Build DRM BOCHS support as a module. It adds DRM support for BOCHS dispi vga interface used by qemu (-vga std option). It will also be useful for QEMU 3.0 to enable the new "bochs-display" display device. * gnu/packages/aux-files/linux-libre/4.19-i686.conf: Ditto. Mathieu Othacehe 2018-10-23gnu: linux-libre: Update to 4.19.•••* gnu/packages/linux.scm (%linux-libre-version): Update to 4.19. (%linux-libre-hash): Update hash. (%linux-libre-4.18-patches): Rename to ... (%linux-libre-4.19-patches): ... this, and remove a patch that is no longer needed. (linux-libre, linux-libre-arm-generic, linux-libre-arm-omap2plus): Use %linux-libre-4.19-patches instead of %linux-libre-4.18-patches. * gnu/packages/aux-files/linux-libre/4.18-arm.conf, gnu/packages/aux-files/linux-libre/4.18-arm64.conf, gnu/packages/aux-files/linux-libre/4.18-i686.conf, gnu/packages/aux-files/linux-libre/4.18-x86_64.conf: Remove files. * gnu/packages/aux-files/linux-libre/4.19-arm.conf, gnu/packages/aux-files/linux-libre/4.19-arm64.conf, gnu/packages/aux-files/linux-libre/4.19-i686.conf, gnu/packages/aux-files/linux-libre/4.19-x86_64.conf: New files. * Makefile.am (AUX_FILES): Adjust accordingly. Mark H Weaver 2018-10-19gnu: linux-libre: Enable SHPC PCI Hotplug driver on ARM64.•••Fixes <https://bugs.gnu.org/32840> on ARM64. * gnu/packages/aux-files/linux-libre/4.18-arm64.conf: Add CONFIG_HOTPLUG_PCI_SHPC=y. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Mark H Weaver 2018-09-25gnu: linux-libre: Enable SHPC PCI Hotplug driver, now built-in only.•••Fixes <https://bugs.gnu.org/32840>. * gnu/packages/aux-files/linux-libre/4.18-x86_64.conf, gnu/packages/aux-files/linux-libre/4.18-i686.conf: Add CONFIG_HOTPLUG_PCI_SHPC=y, plus updates made by 'make oldconfig'. Mark H Weaver 2018-08-18gnu: linux-libre: Update to 4.18.1.•••* gnu/packages/linux.scm (%linux-libre-version): Update to 4.18.1. (%linux-libre-hash): Update hash. (%linux-libre-patches): New variable. (linux-libre): Add %linux-libre-patches. * gnu/packages/aux-files/linux-libre/4.17-arm.conf, gnu/packages/aux-files/linux-libre/4.17-arm64.conf, gnu/packages/aux-files/linux-libre/4.17-i686.conf, gnu/packages/aux-files/linux-libre/4.17-x86_64.conf: Delete files. * gnu/packages/aux-files/linux-libre/4.18-arm.conf, gnu/packages/aux-files/linux-libre/4.18-arm64.conf, gnu/packages/aux-files/linux-libre/4.18-i686.conf, gnu/packages/aux-files/linux-libre/4.18-x86_64.conf: New files. * Makefile.am (AUX_FILES): Update accordingly. Mark H Weaver 2018-07-04gnu: Remove linux-libre@4.1.•••* gnu/packages/linux.scm (linux-libre-4.1): Remove variable. * gnu/packages/aux-files/linux-libre/4.1-i686.conf, gnu/packages/aux-files/linux-libre/4.1-x86_64.conf: Delete files. * Makefile.am (AUX_FILES): Remove them. Mark H Weaver 2018-06-05gnu: linux-libre: Update to 4.17.•••* gnu/packages/linux.scm (%linux-libre-version): Update to 4.17. (%linux-libre-hash): Update hash. * gnu/packages/aux-files/linux-libre/4.16-arm.conf, gnu/packages/aux-files/linux-libre/4.16-arm64.conf, gnu/packages/aux-files/linux-libre/4.16-i686.conf, gnu/packages/aux-files/linux-libre/4.16-x86_64.conf: Delete files. * gnu/packages/aux-files/linux-libre/4.17-arm.conf, gnu/packages/aux-files/linux-libre/4.17-arm64.conf, gnu/packages/aux-files/linux-libre/4.17-i686.conf, gnu/packages/aux-files/linux-libre/4.17-x86_64.conf: New files. * Makefile.am (AUX_FILES): Adjust accordingly. Mark H Weaver 2018-05-21gnu: linux-libre: Enable build for aarch64-linux.•••* gnu/packages/linux.scm (%linux-compatible-systems): Add aarch64-linux. (linux-libre-4.14): Limit to x86_64-linux, i686-linux and armhf-linux. * gnu/packages/aux-files/linux-libre/4.16-arm64.conf: New file. * Makefile.am (AUX_FILES): Add 4.16-arm64.conf. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Vagrant Cascadian 2018-05-11pack: Relocatable wrapper now properly maps the current UID/GID.•••* gnu/packages/aux-files/run-in-namespace.c (write_id_map) (disallow_setgroups): New functions. (main): Use 'clone' via 'syscall' instead of 'fork' followed by 'unshare'. Add calls to 'disallow_setgroups' and 'write_id_map' in the parent process. Ludovic Courtès 2018-05-10pack: Add '--relocatable'.•••* gnu/packages/aux-files/run-in-namespace.c: New file. * Makefile.am (AUX_FILES): Add it. * guix/scripts/pack.scm (<c-compiler>): New record type. (c-compiler, bootstrap-c-compiler, c-compiler-compiler): New procedures. (self-contained-tarball): Use 'relative-file-name' for the SOURCE -> TARGET symlink. (docker-image): Add 'defmod' to please Geiser. (wrapped-package, map-manifest-entries): New procedures. (%options, show-help): Add --relocatable. (guix-pack): Honor it. Ludovic Courtès 2018-04-11gnu: linux-libre: Update to 4.16.1.•••* gnu/packages/linux.scm (%linux-libre-version): Update to 4.16.1. (%linux-libre-hash): Update hash. * gnu/packages/aux-files/linux-libre/4.15-arm.conf, gnu/packages/aux-files/linux-libre/4.15-i686.conf, gnu/packages/aux-files/linux-libre/4.15-x86_64.conf: Delete files. * gnu/packages/aux-files/linux-libre/4.16-arm.conf, gnu/packages/aux-files/linux-libre/4.16-i686.conf, gnu/packages/aux-files/linux-libre/4.16-x86_64.conf: New files. * Makefile.am (AUX_FILES): Update accordingly. Mark H Weaver 2018-01-30gnu: linux-libre: Update to 4.15, while retaining 4.14 LTS.•••* gnu/packages/linux.scm (%linux-libre-version): Update to 4.15. (%linux-libre-hash): Update hash. (%linux-libre-arm-generic-4.14, %linux-libre-arm-omap2plus-4.14) (%linux-libre-4.1-version, %linux-libre-4.1-hash): New variables. * gnu/packages/aux-files/linux-libre/4.15-arm.conf, gnu/packages/aux-files/linux-libre/4.15-i686.conf, gnu/packages/aux-files/linux-libre/4.15-x86_64.conf: New files. * Makefile.am (AUX_FILES): Add them. Mark H Weaver 2018-01-30gnu: linux-libre: Update configuration files to latest releases.•••* gnu/packages/aux-files/linux-libre/4.14-i686.conf, gnu/packages/aux-files/linux-libre/4.14-x86_64.conf, gnu/packages/aux-files/linux-libre/4.9-i686.conf, gnu/packages/aux-files/linux-libre/4.9-x86_64.conf, gnu/packages/aux-files/linux-libre/4.4-i686.conf, gnu/packages/aux-files/linux-libre/4.4-x86_64.conf, gnu/packages/aux-files/linux-libre/4.1-i686.conf, gnu/packages/aux-files/linux-libre/4.1-x86_64.conf: Update using "make oldconfig" on the latest point releases. Mark H Weaver 2018-01-30gnu: linux-libre: NVME core support is now built-in.•••* gnu/system/linux-initrd.scm (base-initrd)[linux-modules]: Remove "nvme". * gnu/packages/aux-files/linux-libre/4.1-i686.conf, gnu/packages/aux-files/linux-libre/4.1-x86_64.conf, gnu/packages/aux-files/linux-libre/4.4-i686.conf, gnu/packages/aux-files/linux-libre/4.4-x86_64.conf: Set CONFIG_BLK_DEV_NVME=y. * gnu/packages/aux-files/linux-libre/4.9-i686.conf, gnu/packages/aux-files/linux-libre/4.9-x86_64.conf, gnu/packages/aux-files/linux-libre/4.14-arm.conf, gnu/packages/aux-files/linux-libre/4.14-i686.conf, gnu/packages/aux-files/linux-libre/4.14-x86_64.conf: Set CONFIG_BLK_DEV_NVME=y and CONFIG_NVME_CORE=y. Mark H Weaver 2017-12-26gnu: linux-libre: Adapt to renamed configuration options in 4.14.9.•••This is a followup to commit 95b969bc9cde419e9cfcf4299a7524381ae7a64d. * gnu/packages/aux-files/linux-libre/4.14-x86_64.conf, gnu/packages/aux-files/linux-libre/4.14-i686.conf: Adapt to the configuration options being renamed from CONFIG_*_UNWINDER to CONFIG_UNWINDER_* in version 4.14.9. Mark H Weaver 2017-11-23linux-libre: Adapt some arm options to match intel conf.•••* gnu/packages/aux-files/linux-libre/4.14-arm.conf: GuixSD base-initrd expects ext4 and fat filesystem to be built-in. Adapt configuration accordingly. Also set devtmpfs_mount to yes. Mathieu Othacehe 2017-11-18gnu: linux-libre: Remove Tegra DRM from arm configuration.•••The code fails to compile on armhf using our configuration. See <https://patchwork.kernel.org/patch/9688615/> for details. * gnu/packages/aux-files/linux-libre/4.14-arm.conf: Remove Tegra DRM support. Mark H Weaver 2017-11-18gnu: linux-libre: Remove Nouveau from arm configuration.•••The Nouveau code fails to compile on armhf with our configuration. * gnu/packages/aux-files/linux-libre/4.14-arm.conf: Disable Nouveau. Mark H Weaver 2017-11-16gnu: linux-libre: Update to 4.14.•••* gnu/packages/linux.scm (%linux-libre-version): Update to 4.14. (%linux-libre-hash): Update hash. * gnu/packages/aux-files/linux-libre/4.13-arm.conf, gnu/packages/aux-files/linux-libre/4.13-i686.conf, gnu/packages/aux-files/linux-libre/4.13-x86_64.conf: Delete files. * gnu/packages/aux-files/linux-libre/4.14-arm.conf, gnu/packages/aux-files/linux-libre/4.14-i686.conf, gnu/packages/aux-files/linux-libre/4.14-x86_64.conf: New files. * Makefile.am (AUX_FILES): Update accordingly. Mark H Weaver 2017-11-09gnu: linux: Add linux-libre arm kernel.•••* Makefile.am (AUX_FILES): Add arm config file. * gnu/packages/aux-files/linux-libre/4.13-arm.conf: New file. * gnu/packages/linux.scm (%intel-compatible-systems): Rename to %linux-compatible-systems and add "armhf-linux". (linux-libre): Adapt consequently. The config file for arm is taken from debian armmp kernel. It's a generic firmware for ARMv7 multiplatform compatible SoCs. Mathieu Othacehe