Compare commits
2 commits
05d5046799
...
1a44dae580
Author | SHA1 | Date | |
---|---|---|---|
|
1a44dae580 | ||
|
939eb59714 |
|
@ -5,6 +5,8 @@ pkgs.mkShell {
|
||||||
haskell-language-server
|
haskell-language-server
|
||||||
stack
|
stack
|
||||||
stylish-haskell
|
stylish-haskell
|
||||||
|
|
||||||
|
libnotify
|
||||||
];
|
];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -62,7 +62,7 @@ roomStateDiffInOpenRooms newData = do
|
||||||
current <- getRoomDataState
|
current <- getRoomDataState
|
||||||
|
|
||||||
let newRooms = filter roomNotEmpty $ filter (\newRoom -> isNothing $ find (sameName newRoom) current) newData
|
let newRooms = filter roomNotEmpty $ filter (\newRoom -> isNothing $ find (sameName newRoom) current) newData
|
||||||
let oldRooms = filter (\newRoom -> isJust $ find (sameName newRoom) current) newData
|
let oldRooms = filter roomNotEmpty $ filter (\oldRoom -> isNothing $ find (sameName oldRoom) newData) current
|
||||||
|
|
||||||
return (newRooms, oldRooms)
|
return (newRooms, oldRooms)
|
||||||
|
|
||||||
|
|
|
@ -14,8 +14,9 @@
|
||||||
# Use the latest resolver that uses the same ghc version
|
# Use the latest resolver that uses the same ghc version
|
||||||
# as build for nixos
|
# as build for nixos
|
||||||
# this way we can use prebuild binaries for hls
|
# this way we can use prebuild binaries for hls
|
||||||
#resolver: nightly-2022-11-12
|
# go to
|
||||||
#resolver: ghc-9.2.4
|
# https://www.stackage.org/
|
||||||
|
# and select the lts that is matching you hls version
|
||||||
resolver: lts-22.43
|
resolver: lts-22.43
|
||||||
#
|
#
|
||||||
# The location of a snapshot can be provided as a file or url. Stack assumes
|
# The location of a snapshot can be provided as a file or url. Stack assumes
|
||||||
|
|
Loading…
Reference in a new issue