File tree 4 files changed +6
-11
lines changed
src/Graphics/Implicit/Viewer
4 files changed +6
-11
lines changed Original file line number Diff line number Diff line change 1
- { rev ? "7c6985653708c5fade76d2014824ff333b0a07b2"
2
- , overlays ? [ ( import ./overlay.nix ) ]
3
- , pkgs ?
4
- if ( ( rev == "" ) || ( rev == "default" ) || ( rev == "local" ) )
5
- then import <nixpkgs> { inherit overlays ; }
6
- # Do not guard with hash, so the project is able to use current channels (rolling `rev`) of Nixpkgs
7
- else import ( builtins . fetchTarball "https://github.com/NixOS/nixpkgs/archive/${ rev } .tar.gz" ) { inherit overlays ; }
1
+ { overlays ? [ ( import ./overlay.nix ) ]
2
+ , pkgs ? import <nixpkgs> { inherit overlays ; }
8
3
} :
9
4
10
5
let
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ library
19
19
, data-default
20
20
, directory
21
21
, filepath
22
- , fsnotify
22
+ , fsnotify >= 0.4
23
23
, GPipe >= 2.2
24
24
, GPipe-GLFW >= 1.4
25
25
, GLFW-b
Original file line number Diff line number Diff line change 22
22
overrides = super . lib . composeExtensions ( old . overrides or ( _ : _ : { } ) )
23
23
( hself : hsuper : {
24
24
#GPipe = super.haskell.lib.doJailbreak hsuper.GPipe;
25
- GPipe = hsuper . callCabal2nix "GPipe" "${ gpipeSrc } /GPipe-Core" { } ;
26
- GPipe-GLFW = hsuper . callCabal2nix "GPipe-GLFW" ( "${ gpipeGlfwSrc } /GPipe-GLFW" ) { } ;
25
+ GPipe = super . haskell . lib . doJailbreak ( hsuper . callCabal2nix "GPipe" "${ gpipeSrc } /GPipe-Core" { } ) ;
26
+ GPipe-GLFW = super . haskell . lib . doJailbreak ( hsuper . callCabal2nix "GPipe-GLFW" ( "${ gpipeGlfwSrc } /GPipe-GLFW" ) { } ) ;
27
27
28
28
# for development
29
29
# implicit = hsuper.callCabal2nix "implicit" (super.fetchFromGitHub {
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ runUpdater modFileRel initialResolution renderChan = void $ do
52
52
eventHandler (FSNotify. Modified fp _ _) = atomically $ writeTChan watchEvent fp
53
53
eventHandler _ = return ()
54
54
55
- void $ async $ FSNotify. withManagerConf ( FSNotify. defaultConfig { FSNotify. confDebounce = FSNotify. Debounce 1 }) $ \ mgr -> do
55
+ void $ async $ FSNotify. withManagerConf FSNotify. defaultConfig $ \ mgr -> do
56
56
void $ FSNotify. watchDir
57
57
mgr
58
58
(System.FilePath. takeDirectory modFile)
You can’t perform that action at this time.
0 commit comments