Logs: liberachat/#xmonad
| 2024-04-05 20:33:16 | <haskellbridge> | <Nexilva> $ stack install |
| 2024-04-05 20:33:17 | <haskellbridge> | <Nexilva> X11-xft > configure |
| 2024-04-05 20:33:18 | <haskellbridge> | <Nexilva> X11-xft > Configuring X11-xft-0.3.4... |
| 2024-04-05 20:33:19 | <haskellbridge> | <Nexilva> X11-xft > Error: Cabal-simple_6HauvNHV_3.10.1.0_ghc-9.6.4: The pkg-config package 'xft' |
| 2024-04-05 20:33:21 | <haskellbridge> | <Nexilva> X11-xft > is required but it could not be found. |
| 2024-04-05 20:33:22 | <haskellbridge> | <Nexilva> X11-xft > |
| 2024-04-05 20:33:23 | <haskellbridge> | <Nexilva> Progress 1/2 |
| 2024-04-05 20:33:25 | <haskellbridge> | <Nexilva> Error: [S-7282] |
| 2024-04-05 20:33:26 | <haskellbridge> | <Nexilva> Stack failed to execute the build plan. |
| 2024-04-05 20:33:27 | <haskellbridge> | <Nexilva> |
| 2024-04-05 20:33:29 | <haskellbridge> | <Nexilva> While executing the build plan, Stack encountered the error: |
| 2024-04-05 20:33:30 | <haskellbridge> | <Nexilva> |
| 2024-04-05 20:33:31 | <haskellbridge> | <Nexilva> [S-7011] |
| 2024-04-05 20:33:32 | <haskellbridge> | <Nexilva> While building package X11-xft-0.3.4 (scroll up to its section to see the error) using: |
| 2024-04-05 20:33:34 | <haskellbridge> | <Nexilva> /home/stoned/.stack/setup-exe-cache/x86_64-linux-tinfo6/Cabal-simple_6HauvNHV_3.10.1.0_ghc-9.6.4 --verbose=1 --builddir=.stack-work/dist/x86_64-linux-tinfo6/ghc-9.6.4 configure --with-ghc=/home/stoned/.stack/programs/x86_64-linux/ghc-tinfo6-9.6.4/bin/ghc-9.6.4 --with-ghc-pkg=/home/stoned/.stack/programs/x86_64-linux/ghc-tinfo6-9.6.4/bin/ghc-pkg-9.6.4 --user --package-db=clear |
| 2024-04-05 20:33:34 | <haskellbridge> | --package-d… |
| 2024-04-05 20:33:35 | <haskellbridge> | <Nexilva> b=global --package-db=/home/stoned/.stack/snapshots/x86_64-linux-tinfo6/716003aaa50e6615e9ad048198d99e65e118fd27c79961f02d5b7986b6c68e28/9.6.4/pkgdb --libdir=/home/stoned/.stack/snapshots/x86_64-linux-tinfo6/716003aaa50e6615e9ad048198d99e65e118fd27c79961f02d5b7986b6c68e28/9.6.4/lib |
| 2024-04-05 20:33:35 | <haskellbridge> | --bindir=/home/stoned/.stack/snapshots/x86_64-linux-tinfo6/716003aaa50e6615e9ad048198d99e65e118fd27c79961f02d5b798… |
| 2024-04-05 20:33:36 | <haskellbridge> | <Nexilva> 6b6c68e28/9.6.4/bin --datadir=/home/stoned/.stack/snapshots/x86_64-linux-tinfo6/716003aaa50e6615e9ad048198d99e65e118fd27c79961f02d5b7986b6c68e28/9.6.4/share --libexecdir=/home/stoned/.stack/snapshots/x86_64-linux-tinfo6/716003aaa50e6615e9ad048198d99e65e118fd27c79961f02d5b7986b6c68e28/9.6.4/libexec |
| 2024-04-05 20:33:36 | <haskellbridge> | --sysconfdir=/home/stoned/.stack/snapshots/x86_64-linux-tinfo6/716003aaa50e6615e9ad048198d99e65e11… |
| 2024-04-05 20:33:38 | <haskellbridge> | <Nexilva> 8fd27c79961f02d5b7986b6c68e28/9.6.4/etc --docdir=/home/stoned/.stack/snapshots/x86_64-linux-tinfo6/716003aaa50e6615e9ad048198d99e65e118fd27c79961f02d5b7986b6c68e28/9.6.4/doc/X11-xft-0.3.4 --htmldir=/home/stoned/.stack/snapshots/x86_64-linux-tinfo6/716003aaa50e6615e9ad048198d99e65e118fd27c79961f02d5b7986b6c68e28/9.6.4/doc/X11-xft-0.3.4 |
| 2024-04-05 20:33:38 | <haskellbridge> | --haddockdir=/home/stoned/.stack/snapshots/x86_64-linux-tinf… |
| 2024-04-05 20:33:39 | <haskellbridge> | <Nexilva> o6/716003aaa50e6615e9ad048198d99e65e118fd27c79961f02d5b7986b6c68e28/9.6.4/doc/X11-xft-0.3.4 --dependency=X11=X11-1.10.3-Grb6PTWQzPbIodPMMce4DA --dependency=base=base-4.18.2.0 --dependency=utf8-string=utf8-string-1.0.2-FimbYq1wIkv3u9JmaBWYAg -f-pedantic --exact-configuration --ghc-option=-fhide-source-paths |
| 2024-04-05 20:33:40 | <haskellbridge> | <Nexilva> Process exited with code: ExitFailure 1 |
| 2024-04-05 20:33:42 | <haskellbridge> | <Nexilva> ``` |
| 2024-04-05 20:35:10 | <geekosaur> | hilfy «xmonad:hilfy-2023» ⁅xmonad-bsa⁆ Z$ dpkg -S $(find /usr -name xft.pc) |
| 2024-04-05 20:35:10 | <geekosaur> | libxft-dev:amd64: /usr/lib/x86_64-linux-gnu/pkgconfig/xft.pc |
| 2024-04-05 20:35:47 | <geekosaur> | so apparently you also need /usr/lib/x86_64-linux-gnu/pkgconfig in PKG_CONFIG_PATH |
| 2024-04-05 20:35:58 | <haskellbridge> | <Nexilva> Fucking ridiculous horse shit manure goddamn garbage I want to curse and swear I am so mad.... |
| 2024-04-05 20:36:07 | <haskellbridge> | <Nexilva> I have no idea when/how I installed this brew bullshit |
| 2024-04-05 20:36:19 | <haskellbridge> | <Nexilva> But I unfuckinginstalled it and now stack install is continuing to find the libs |
| 2024-04-05 20:36:26 | <haskellbridge> | <Nexilva> No need to specify paths or export shit |
| 2024-04-05 20:36:28 | <geekosaur> | I suspect if you get rid of that linuxbrew thing and remove PKG)CONFIG_PATH from your environment it'll just work |
| 2024-04-05 20:36:35 | <haskellbridge> | <Nexilva> Goddamn what an asshole of a day. ☹️ |
| 2024-04-05 20:36:35 | <geekosaur> | I have no idea how linuxbrew got there |
| 2024-04-05 20:36:44 | <geekosaur> | right |
| 2024-04-05 20:37:06 | <haskellbridge> | <Nexilva> Completed 2 action(s). |
| 2024-04-05 20:37:07 | <haskellbridge> | <Nexilva> Copying from /home/stoned/.config/xmonad/.stack-work/install/x86_64-linux-tinfo6/716003aaa50e6615e9ad048198d99e65e118fd27c79961f02d5b7986b6c68e28/9.6.4/bin/xmonad to /home/stoned/.local/bin/xmonad. |
| 2024-04-05 20:37:08 | <haskellbridge> | <Nexilva> Copied executables to /home/stoned/.local/bin/: |
| 2024-04-05 20:37:10 | <haskellbridge> | <Nexilva> * xmonad |
| 2024-04-05 20:37:36 | → | defjam joins (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) |
| 2024-04-05 20:37:48 | <haskellbridge> | <Nexilva> Now when I try to compile xmonad.hs it complains about not finding any of the improts |
| 2024-04-05 20:38:25 | <haskellbridge> | <Nexilva> ``` |
| 2024-04-05 20:38:26 | <haskellbridge> | <Nexilva> Deprecations detected while compiling xmonad config: /home/stoned/.config/xmonad/xmonad.hs |
| 2024-04-05 20:38:28 | <haskellbridge> | <Nexilva> $ stack build --silent --stack-yaml /home/stoned/.config/xmonad/stack.yaml |
| 2024-04-05 20:38:29 | <haskellbridge> | <Nexilva> $ stack ghc --stack-yaml /home/stoned/.config/xmonad/stack.yaml -- --make xmonad.hs -i -ilib -fforce-recomp -main-is main -v0 -outputdir /home/stoned/.cache/xmonad/build-x86_64-linux -o /home/stoned/.cache/xmonad/xmonad-x86_64-linux |
| 2024-04-05 20:38:30 | <haskellbridge> | <Nexilva> xmonad.hs:37:1: warning: [-Wdeprecations] |
| 2024-04-05 20:38:31 | <haskellbridge> | <Nexilva> Module ‘XMonad.Layout.Circle’ is deprecated: |
| 2024-04-05 20:38:33 | <haskellbridge> | <Nexilva> "Use XMonad.Layout.CircleEx instead" |
| 2024-04-05 20:38:34 | <haskellbridge> | <Nexilva> | |
| 2024-04-05 20:38:35 | <haskellbridge> | <Nexilva> 37 | import XMonad.Layout.Circle |
| 2024-04-05 20:38:37 | <haskellbridge> | <Nexilva> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 2024-04-05 20:38:38 | <haskellbridge> | <Nexilva> xmonad.hs:39:1: warning: [-Wdeprecations] |
| 2024-04-05 20:38:39 | <haskellbridge> | <Nexilva> Module ‘XMonad.Layout.Cross’ is deprecated: |
| 2024-04-05 20:38:41 | <haskellbridge> | <Nexilva> "Use XMonad.Layout.Circle or XMonad.Layout.ThreeColumn.ThreeColMid instead" |
| 2024-04-05 20:38:42 | <haskellbridge> | <Nexilva> | |
| 2024-04-05 20:38:43 | <haskellbridge> | <Nexilva> 39 | import XMonad.Layout.Cross |
| 2024-04-05 20:38:44 | <haskellbridge> | <Nexilva> | ^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 2024-04-05 20:38:46 | <haskellbridge> | <Nexilva> xmonad.hs:78:1: warning: [-Wdeprecations] |
| 2024-04-05 20:38:47 | <haskellbridge> | <Nexilva> Module ‘XMonad.Util.Ungrab’ is deprecated: |
| 2024-04-05 20:38:48 | <haskellbridge> | <Nexilva> "Use XMonad.Operations.unGrab instead" |
| 2024-04-05 20:38:50 | <haskellbridge> | <Nexilva> | |
| 2024-04-05 20:38:51 | <haskellbridge> | <Nexilva> 78 | import XMonad.Util.Ungrab |
| 2024-04-05 20:38:52 | <haskellbridge> | <Nexilva> | ^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 2024-04-05 20:38:54 | <haskellbridge> | <Nexilva> xmonad.hs:242:13: warning: [GHC-68441] [-Wdeprecations] |
| 2024-04-05 20:38:55 | <haskellbridge> | <Nexilva> In the use of data constructor ‘Circle’ |
| 2024-04-05 20:38:56 | <haskellbridge> | <Nexilva> (imported from XMonad.Layout.Circle): |
| 2024-04-05 20:38:57 | <haskellbridge> | <Nexilva> Deprecated: "Use XMonad.Layout.CircleEx instead" |
| 2024-04-05 20:38:59 | <haskellbridge> | <Nexilva> | |
| 2024-04-05 20:39:00 | <haskellbridge> | <Nexilva> 242 | ||| Circle |
| 2024-04-05 20:39:01 | <haskellbridge> | <Nexilva> | ^^^^^^ |
| 2024-04-05 20:39:03 | <haskellbridge> | <Nexilva> xmonad.hs:243:13: warning: [GHC-68441] [-Wdeprecations] |
| 2024-04-05 20:39:04 | <haskellbridge> | <Nexilva> In the use of ‘simpleCross’ (imported from XMonad.Layout.Cross): |
| 2024-04-05 20:39:05 | <geekosaur> | right, those were deprecated in 0.18 |
| 2024-04-05 20:39:05 | <haskellbridge> | <Nexilva> Sigh now this happy horseshit. ARGH! |
| 2024-04-05 20:39:21 | <haskellbridge> | <Nexilva> Sorry I didn't read the notes/release notes stuff |
| 2024-04-05 20:39:24 | <geekosaur> | they're still there for now, those are warnings that they'll be removed in a future release |
| 2024-04-05 20:39:39 | <haskellbridge> | <Nexilva> I don['t use circle or simplecross |
| 2024-04-05 20:39:43 | <haskellbridge> | <Nexilva> I wonder what ungrab was... |
| 2024-04-05 20:39:50 | <haskellbridge> | <Nexilva> I don't use circle or simplecross |
| 2024-04-05 20:39:54 | <geekosaur> | (Circle was extended, Cross is actually broken and it's suggesting an alternative, Ungrab was moved into the core) |
| 2024-04-05 20:40:04 | <geekosaur> | you use ungrab for screenshots |
| 2024-04-05 20:40:59 | <geekosaur> | xmonad keeps the keyboard grabbed when it runs something, because it can't know if what you ran is a function that wants to read more keys. if you launch a screen shooter, it doesn't like that |
| 2024-04-05 20:41:28 | <geekosaur> | so you do something like unGrab >> spawn "scrot …" |
| 2024-04-05 20:42:30 | <haskellbridge> | <Nexilva> Oh right ok |
| 2024-04-05 20:42:34 | <haskellbridge> | <Nexilva> Thank you |
| 2024-04-05 20:42:50 | <haskellbridge> | <Nexilva> I took out the imports and now it compiles. |
| 2024-04-05 20:43:14 | <haskellbridge> | <Nexilva> Don't use circle layout or simple cross, from years ago when I was checking them out. |
| 2024-04-05 20:43:22 | <haskellbridge> | <Nexilva> Right now I just need stuff to work |
| 2024-04-05 20:43:40 | <haskellbridge> | <Nexilva> So now, how do you suggest I do the matchig of the VMs |
| 2024-04-05 20:44:18 | <haskellbridge> | <Nexilva> I asked GPT and it says: |
| 2024-04-05 20:44:19 | <haskellbridge> | <Nexilva> ``` |
| 2024-04-05 20:44:20 | <haskellbridge> | <Nexilva> import Text.Regex.Posix |
| 2024-04-05 20:44:21 | <haskellbridge> | <Nexilva> -- Function to extract the text between "Windows 10 P2V Original Clone" and "- Oracle VM VirtualBox : 1" |
| 2024-04-05 20:44:22 | <haskellbridge> | <Nexilva> extractCloneName :: String -> Maybe String |
| 2024-04-05 20:44:24 | <haskellbridge> | <Nexilva> extractCloneName s = case s =~ "Windows 10 P2V Original Clone (.*) - Oracle VM VirtualBox : 1" :: (String, String, String, [String]) of |
| 2024-04-05 20:44:25 | <haskellbridge> | <Nexilva> (_, _, _, [name]) -> Just name |
| 2024-04-05 20:44:26 | <haskellbridge> | <Nexilva> _ -> Nothing |
| 2024-04-05 20:44:28 | <haskellbridge> | <Nexilva> -- Define your Xmonad configuration |
| 2024-04-05 20:44:29 | <haskellbridge> | <Nexilva> myXmonadConfig = [ |
All times are in UTC.