This is a follow-up commit to 74c7f367da, which broke the installation of the
bin, lib and share artifacts.
* gnu/packages/audio.scm (gsm)[make-flags]: Programmatically build the
INSTALL_ROOT make flag so that the %output variable gets properly expanded.
Instead of repeating the default CCFLAGS values as a make flag...
[phases]: ...add "-fPIC" using substitutes* in a new add-fpic-ccflag phase.
* gnu/packages/mate.scm (mate)[inputs]: Move desktop-files-utils from here...
[native-inputs]: ...to this new field.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
* doc/guix.texi (Linux Services): Add a new subsection and document the
new service and its configuration.
* gnu/services/linux.scm (kernel-module-loader-service-type): New type.
(kernel-module-loader-shepherd-service): New procedure.
* gnu/tests/linux-modules.scm (module-loader-program): Procedure
removed.
(modules-loaded?-program): New procedure.
(run-loadable-kernel-modules-test): 'module-loader-program' procedure
replaced by the new one.
[os]: Use 'kernel-module-loader-service'.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
This is necessary for building mediastream2 (a dependency of Linphone).
* gnu/packages/audio.scm (gsm): Add the default CCFLAGS as a make flag, and
prepend -fPIC to these. Pass INSTALL_ROOT as a make flag as well, which
removes the need to use substitute* in a phase.
While attempting to debug NFS with 'mountstats' and other Python based tools,
I was greeted by the error:
bash: /run/current-system/profile/sbin/mountstats: /usr/bin/python: bad
interpreter: No such file or directory
Add python-wrapper, so that the Python shebangs get rewritten correctly.
* gnu/packages/nfs.scm (nfs-utils)[inputs]: Add python-wrapper.
This ensures the stack is not unwound before the exception is re-thrown,
as was the case since 8ed597f4a2, leading
to '&store-protocol-error' being uncaught by 'with-error-handling'
in (guix scripts build) & co.
* guix/store.scm (call-with-store): Define 'thunk'. Add 'cond-expand'
to use 'with-exception-handler' on 'guile-3' and 'catch' otherwise.
These patches were originally found at the debian mingw-w64 team's
mingw-w64 repo, and should improve the reproducibility of our mingw-w64
toolchain.
* gnu/packages/patches/mingw-w64-dlltool-temp-prefix.patch: New file.
* gnu/packages/patches/mingw-w64-reproducible-gendef.patch: New file.
* gnu/local.mk (dist_patch_DATA): Update accordingly.
* gnu/packages/mingw.scm (make-mingw-w64): Apply patches.
* gnu/system.scm (operating-system-directory-base-entries): Don't create
a module database when no modules are available.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
* gnu/packages/tex.scm (rubber)[inputs]: Move texinfo from here...
[native-inputs]: ...to this new field.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
* gnu/packages/math.scm (scotch)[inputs]: Move flex & bison from here...
[native-inputs]: ...to this new field.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
This is a followup to efa578ecae.
* tests/guix-build-branch.sh: Adjust '--with-commit=guile-gcrypt=v0.1.0'
test to expect the tag ID rather than the commit ID.
Fixes <https://bugs.gnu.org/40428>.
Reported by Marius Bakke <mbakke@fastmail.com> and 白い熊.
Regression introduced with the first uses of 'with-build-handler' in
commit 62195b9a8f and subsequent.
* guix/store.scm (call-with-store): Use 'catch #t' instead of
'dynamic-wind'. This ensures STORE remains open when a non-local exit
other than an exception occurs, such as an abort to the build handler
prompt.
* tests/store.scm ("with-build-handler + with-store"): New test.
* etc/release-manifest.scm (%packages-to-cross-build-for-mingw): New
variable.
(%cross-manifest): Use it. Remove "riscv64-linux-gnu" from %CROSS-TARGETS.