unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob 0aa91954ee4cecd8420085933cc7c2a7560960f0 644 bytes (raw)
name: gnu/packages/patches/xmonad-dynamic-linking.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
 
This patch is required for xmonad to make use of shared libraries.
Without it, xmonad will not work since we do not (by default) use
statically linked Haskell libraries.

diff -Naur xmonad-0.17.0.orig/src/XMonad/Core.hs xmonad-0.17.0/src/XMonad/Core.hs
--- xmonad-0.17.0.orig/src/XMonad/Core.hs	2001-09-09 03:46:40.000000000 +0200
+++ xmonad-0.17.0/src/XMonad/Core.hs	2021-11-13 10:40:17.840524866 +0100
@@ -664,6 +664,8 @@
   where
     ghcArgs = [ "--make"
               , "xmonad.hs"
+              , "-dynamic"
+              , "-fPIC"
               , "-i" -- only look in @lib@
               , "-ilib"
               , "-fforce-recomp"

debug log:

solving 0aa91954ee ...
found 0aa91954ee in https://yhetil.org/guix-patches/Ycrl4T40hbpOuqc6@noor.fritz.box/
found 4f3386e53a in https://git.savannah.gnu.org/cgit/guix.git
preparing index
index prepared:
100644 4f3386e53aa4cf0546cbcbff636506d7db5e6fb2	gnu/packages/patches/xmonad-dynamic-linking.patch

applying [1/1] https://yhetil.org/guix-patches/Ycrl4T40hbpOuqc6@noor.fritz.box/
diff --git a/gnu/packages/patches/xmonad-dynamic-linking.patch b/gnu/packages/patches/xmonad-dynamic-linking.patch
index 4f3386e53a..0aa91954ee 100644

Checking patch gnu/packages/patches/xmonad-dynamic-linking.patch...
Applied patch gnu/packages/patches/xmonad-dynamic-linking.patch cleanly.

index at:
100644 0aa91954ee4cecd8420085933cc7c2a7560960f0	gnu/packages/patches/xmonad-dynamic-linking.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).