From ee06af5b4b314211f05c866f7226b8cb056a335b Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sat, 3 Jan 2015 23:49:42 +0100 Subject: gnu: Search for patches under $GUIX_PACKAGE_PATH. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes . Reported by Tomáš Čech and Mark H Weaver . * gnu/packages.scm (%patch-path): Move after definition of %package-module-path'. Append "/gnu/packages/patches" only to %DISTRO-ROOT-DIRECTORY. * tests/guix-package.sh: Add 'emacs-foo-bar-patched' test. --- gnu/packages.scm | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'gnu/packages.scm') diff --git a/gnu/packages.scm b/gnu/packages.scm index 6109d1f896..7f0b58b971 100644 --- a/gnu/packages.scm +++ b/gnu/packages.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2012, 2013, 2014 Ludovic Courtès +;;; Copyright © 2012, 2013, 2014, 2015 Ludovic Courtès ;;; Copyright © 2013 Mark H Weaver ;;; Copyright © 2014 Eric Bavier ;;; @@ -64,11 +64,6 @@ (define-module (gnu packages) ;; and an extra environment variable. One advantage of this setup is ;; that everything just works in an auto-compilation setting. -(define %patch-path - (make-parameter - (map (cut string-append <> "/gnu/packages/patches") - %load-path))) - (define %bootstrap-binaries-path (make-parameter (map (cut string-append <> "/gnu/packages/bootstrap") @@ -104,6 +99,16 @@ (define %package-module-path (make-parameter (append environment `((,%distro-root-directory . "gnu/packages")))))) +(define %patch-path + ;; Define it after '%package-module-path' so that '%load-path' contains user + ;; directories, allowing patches in $GUIX_PACKAGE_PATH to be found. + (make-parameter + (map (lambda (directory) + (if (string=? directory %distro-root-directory) + (string-append directory "/gnu/packages/patches") + directory)) + %load-path))) + (define* (scheme-files directory) "Return the list of Scheme files found under DIRECTORY, recursively. The returned list is sorted in alphabetical order." -- cgit v1.2.3 og/gnu/packages?id=89e1e4481382d18033a9773b90c09345fa33d6cb'>packages/pulseaudio.scm
AgeCommit message (Expand)Author
2020-09-03gnu: noisetorch: Update to 0.7.2-beta.Michael Rohleder
2020-08-06gnu: Add noisetorch.Pierre Neidhardt
2020-08-06gnu: Add rnnoise.Pierre Neidhardt
2020-08-05gnu: Add paprefs.Michael Rohleder
2020-08-01gnu: pulsemixer: Update to 1.5.1.Michael Rohleder
2020-08-01gnu: pavucontrol: Update to 4.0.Michael Rohleder
2020-07-12gnu: Remove ".git" from "https://github/…/….git".Ludovic Courtès
2020-04-26Merge branch 'master' into core-updatesMarius Bakke
2020-04-25gnu: pavucontrol: Fix icons.Raghav Gururajan
2020-03-30Merge branch 'master' into core-updatesMarius Bakke
2020-03-28Update email address and Savannah handle for Amin Bandali.Amin Bandali
2020-03-18gnu: pulseaudio: Remove obsolete input.Marius Bakke
2020-02-14Merge branch 'master' into core-updatesMarius Bakke
2020-02-07gnu: Add pasystray.Amin Bandali
2020-02-04gnu: Add pamixer.Amin Bandali
2020-01-23Merge branch 'staging' into core-updatesMarius Bakke
2020-01-22gnu: pulsemixer: Update to 1.5.0.Efraim Flashner
2020-01-22gnu: pulsemixer: Don't use unstable tarball.Efraim Flashner
2020-01-22gnu: ponymix: Don't use unstable tarball.Efraim Flashner
2020-01-21Merge branch 'staging' into core-updatesMarius Bakke
2020-01-15gnu: python-lxml: Move to (gnu packages xml).Marius Bakke
2019-12-05Merge branch 'master' into core-updatesMarius Bakke
2019-10-13gnu: pulseaudio: Add optional X11 inputs.Diego Nicola Barbato
2019-10-09gnu: pulseaudio: Update to 13.0.Marius Bakke
2019-09-24gnu: libsamplerate: Fix aarch64 cross-compilation.Mathieu Othacehe
2019-07-12Merge branch 'master' into core-updatesMarius Bakke
2019-07-04gnu: Add pulseaudio-dlna.Alex Griffin
2019-07-03gnu: pavucontrol: Remove GCC5 workaround.Marius Bakke
2019-05-13gnu: ALSA: Update to 1.1.9.Marius Bakke