Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
qbar
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
jktr
qbar
Commits
4b709da1
Verified
Commit
4b709da1
authored
5 years ago
by
Legy (Beini)
Browse files
Options
Downloads
Patches
Plain Diff
Update stack snapshot to lts-15.1
parent
18f7a794
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
src/QBar/Cli.hs
+1
-1
1 addition, 1 deletion
src/QBar/Cli.hs
src/QBar/ControlSocket.hs
+3
-5
3 additions, 5 deletions
src/QBar/ControlSocket.hs
src/QBar/TagParser.hs
+0
-2
0 additions, 2 deletions
src/QBar/TagParser.hs
stack.yaml
+1
-1
1 addition, 1 deletion
stack.yaml
with
5 additions
and
9 deletions
src/QBar/Cli.hs
+
1
−
1
View file @
4b709da1
...
...
@@ -10,7 +10,7 @@ import QBar.DefaultConfig
import
QBar.Server
import
QBar.Theme
import
Control.Monad
(
join
,
sequence_
)
import
Control.Monad
(
join
)
import
qualified
Data.Text.Lazy
as
T
import
Options.Applicative
...
...
This diff is collapsed.
Click to expand it.
src/QBar/ControlSocket.hs
+
3
−
5
View file @
4b709da1
...
...
@@ -18,13 +18,10 @@ import Control.Concurrent (forkFinally)
import
Control.Concurrent.Async
import
Data.Aeson
(
FromJSON
,
ToJSON
)
import
Data.Aeson.TH
import
Data.ByteString
(
ByteString
)
import
qualified
Data.ByteString.Char8
as
BSC
import
System.FilePath
((
</>
))
import
System.IO
import
Data.Either
(
either
)
import
Data.Maybe
(
maybe
)
import
Data.Text.Lazy
(
Text
,
pack
)
import
Data.Text.Lazy
(
pack
)
import
qualified
Data.Text.Lazy
as
T
import
Network.Socket
import
Pipes
...
...
@@ -220,7 +217,8 @@ listenUnixSocket options@MainOptions{verbose} bar commandHandler = do
socketExists
<-
doesFileExist
socketPath
when
socketExists
$
removeFile
socketPath
sock
<-
socket
AF_UNIX
Stream
defaultProtocol
setCloseOnExecIfNeeded
$
fdSocket
sock
-- TODO: unsafe probably not what we want
setCloseOnExecIfNeeded
=<<
unsafeFdSocket
sock
bind
sock
(
SockAddrUnix
socketPath
)
listen
sock
5
forever
$
do
...
...
This diff is collapsed.
Click to expand it.
src/QBar/TagParser.hs
+
0
−
2
View file @
4b709da1
...
...
@@ -4,9 +4,7 @@ import QBar.BlockOutput
import
QBar.Color
import
Control.Applicative
((
<|>
))
import
Control.Monad
(
void
)
import
Data.Attoparsec.Text.Lazy
as
A
import
Data.Either
(
either
)
import
Data.Functor
((
$>
))
import
Data.Maybe
(
catMaybes
)
import
qualified
Data.Text
as
TS
...
...
This diff is collapsed.
Click to expand it.
stack.yaml
+
1
−
1
View file @
4b709da1
...
...
@@ -17,7 +17,7 @@
#
# resolver: ./custom-snapshot.yaml
# resolver: https://example.com/snapshots/2018-01-01.yaml
resolver
:
lts-1
4.20
resolver
:
lts-1
5.1
# User packages to be built.
# Various formats can be used as shown in the example below.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment