Home liberachat/#xmonad: Logs Calendar

Logs: liberachat/#xmonad

←Prev  Next→ 184,768 events total
2024-04-05 20:33:16 <haskellbridge> <N​exilva> $ stack install
2024-04-05 20:33:17 <haskellbridge> <N​exilva> X11-xft > configure
2024-04-05 20:33:18 <haskellbridge> <N​exilva> X11-xft > Configuring X11-xft-0.3.4...
2024-04-05 20:33:19 <haskellbridge> <N​exilva> 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> <N​exilva> X11-xft > is required but it could not be found.
2024-04-05 20:33:22 <haskellbridge> <N​exilva> X11-xft >
2024-04-05 20:33:23 <haskellbridge> <N​exilva> Progress 1/2
2024-04-05 20:33:25 <haskellbridge> <N​exilva> Error: [S-7282]
2024-04-05 20:33:26 <haskellbridge> <N​exilva> Stack failed to execute the build plan.
2024-04-05 20:33:27 <haskellbridge> <N​exilva>
2024-04-05 20:33:29 <haskellbridge> <N​exilva> While executing the build plan, Stack encountered the error:
2024-04-05 20:33:30 <haskellbridge> <N​exilva>
2024-04-05 20:33:31 <haskellbridge> <N​exilva> [S-7011]
2024-04-05 20:33:32 <haskellbridge> <N​exilva> 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> <N​exilva> /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> <N​exilva> 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> <N​exilva> 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> <N​exilva> 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> <N​exilva> 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> <N​exilva> Process exited with code: ExitFailure 1
2024-04-05 20:33:42 <haskellbridge> <N​exilva> ```
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> <N​exilva> Fucking ridiculous horse shit manure goddamn garbage I want to curse and swear I am so mad....
2024-04-05 20:36:07 <haskellbridge> <N​exilva> I have no idea when/how I installed this brew bullshit
2024-04-05 20:36:19 <haskellbridge> <N​exilva> But I unfuckinginstalled it and now stack install is continuing to find the libs
2024-04-05 20:36:26 <haskellbridge> <N​exilva> 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> <N​exilva> 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> <N​exilva> Completed 2 action(s).
2024-04-05 20:37:07 <haskellbridge> <N​exilva> 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> <N​exilva> Copied executables to /home/stoned/.local/bin/:
2024-04-05 20:37:10 <haskellbridge> <N​exilva> * 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> <N​exilva> Now when I try to compile xmonad.hs it complains about not finding any of the improts
2024-04-05 20:38:25 <haskellbridge> <N​exilva> ```
2024-04-05 20:38:26 <haskellbridge> <N​exilva> Deprecations detected while compiling xmonad config: /home/stoned/.config/xmonad/xmonad.hs
2024-04-05 20:38:28 <haskellbridge> <N​exilva> $ stack build --silent --stack-yaml /home/stoned/.config/xmonad/stack.yaml
2024-04-05 20:38:29 <haskellbridge> <N​exilva> $ 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> <N​exilva> xmonad.hs:37:1: warning: [-Wdeprecations]
2024-04-05 20:38:31 <haskellbridge> <N​exilva> Module ‘XMonad.Layout.Circle’ is deprecated:
2024-04-05 20:38:33 <haskellbridge> <N​exilva> "Use XMonad.Layout.CircleEx instead"
2024-04-05 20:38:34 <haskellbridge> <N​exilva> |
2024-04-05 20:38:35 <haskellbridge> <N​exilva> 37 | import XMonad.Layout.Circle
2024-04-05 20:38:37 <haskellbridge> <N​exilva> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-04-05 20:38:38 <haskellbridge> <N​exilva> xmonad.hs:39:1: warning: [-Wdeprecations]
2024-04-05 20:38:39 <haskellbridge> <N​exilva> Module ‘XMonad.Layout.Cross’ is deprecated:
2024-04-05 20:38:41 <haskellbridge> <N​exilva> "Use XMonad.Layout.Circle or XMonad.Layout.ThreeColumn.ThreeColMid instead"
2024-04-05 20:38:42 <haskellbridge> <N​exilva> |
2024-04-05 20:38:43 <haskellbridge> <N​exilva> 39 | import XMonad.Layout.Cross
2024-04-05 20:38:44 <haskellbridge> <N​exilva> | ^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-04-05 20:38:46 <haskellbridge> <N​exilva> xmonad.hs:78:1: warning: [-Wdeprecations]
2024-04-05 20:38:47 <haskellbridge> <N​exilva> Module ‘XMonad.Util.Ungrab’ is deprecated:
2024-04-05 20:38:48 <haskellbridge> <N​exilva> "Use XMonad.Operations.unGrab instead"
2024-04-05 20:38:50 <haskellbridge> <N​exilva> |
2024-04-05 20:38:51 <haskellbridge> <N​exilva> 78 | import XMonad.Util.Ungrab
2024-04-05 20:38:52 <haskellbridge> <N​exilva> | ^^^^^^^^^^^^^^^^^^^^^^^^^
2024-04-05 20:38:54 <haskellbridge> <N​exilva> xmonad.hs:242:13: warning: [GHC-68441] [-Wdeprecations]
2024-04-05 20:38:55 <haskellbridge> <N​exilva> In the use of data constructor ‘Circle’
2024-04-05 20:38:56 <haskellbridge> <N​exilva> (imported from XMonad.Layout.Circle):
2024-04-05 20:38:57 <haskellbridge> <N​exilva> Deprecated: "Use XMonad.Layout.CircleEx instead"
2024-04-05 20:38:59 <haskellbridge> <N​exilva> |
2024-04-05 20:39:00 <haskellbridge> <N​exilva> 242 | ||| Circle
2024-04-05 20:39:01 <haskellbridge> <N​exilva> | ^^^^^^
2024-04-05 20:39:03 <haskellbridge> <N​exilva> xmonad.hs:243:13: warning: [GHC-68441] [-Wdeprecations]
2024-04-05 20:39:04 <haskellbridge> <N​exilva> 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> <N​exilva> Sigh now this happy horseshit. ARGH!
2024-04-05 20:39:21 <haskellbridge> <N​exilva> 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> <N​exilva> I don['t use circle or simplecross
2024-04-05 20:39:43 <haskellbridge> <N​exilva> I wonder what ungrab was...
2024-04-05 20:39:50 <haskellbridge> <N​exilva> 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> <N​exilva> Oh right ok
2024-04-05 20:42:34 <haskellbridge> <N​exilva> Thank you
2024-04-05 20:42:50 <haskellbridge> <N​exilva> I took out the imports and now it compiles.
2024-04-05 20:43:14 <haskellbridge> <N​exilva> Don't use circle layout or simple cross, from years ago when I was checking them out.
2024-04-05 20:43:22 <haskellbridge> <N​exilva> Right now I just need stuff to work
2024-04-05 20:43:40 <haskellbridge> <N​exilva> So now, how do you suggest I do the matchig of the VMs
2024-04-05 20:44:18 <haskellbridge> <N​exilva> I asked GPT and it says:
2024-04-05 20:44:19 <haskellbridge> <N​exilva> ```
2024-04-05 20:44:20 <haskellbridge> <N​exilva> import Text.Regex.Posix
2024-04-05 20:44:21 <haskellbridge> <N​exilva> -- Function to extract the text between "Windows 10 P2V Original Clone" and "- Oracle VM VirtualBox : 1"
2024-04-05 20:44:22 <haskellbridge> <N​exilva> extractCloneName :: String -> Maybe String
2024-04-05 20:44:24 <haskellbridge> <N​exilva> 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> <N​exilva> (_, _, _, [name]) -> Just name
2024-04-05 20:44:26 <haskellbridge> <N​exilva> _ -> Nothing
2024-04-05 20:44:28 <haskellbridge> <N​exilva> -- Define your Xmonad configuration
2024-04-05 20:44:29 <haskellbridge> <N​exilva> myXmonadConfig = [

All times are in UTC.