File tree Expand file tree Collapse file tree 1 file changed +24
-7
lines changed Expand file tree Collapse file tree 1 file changed +24
-7
lines changed Original file line number Diff line number Diff line change 9
9
} ,
10
10
} :
11
11
12
- with import nixpkgs { } ;
12
+ with import nixpkgs {
13
+ overlays = [ (
14
+ final : prev : {
15
+ # workaround for this:
16
+ # https://github.com/emscripten-core/emscripten/issues/22249
17
+ binaryen = prev . binaryen . overrideAttrs ( attrs : {
18
+ version = "git" ;
19
+ doCheck = false ;
20
+ src = prev . fetchFromGitHub {
21
+ owner = "WebAssembly" ;
22
+ repo = "binaryen" ;
23
+ rev = "835c5ddf5e3dd5542ef1d0c8f025129c240b4b2c" ;
24
+ hash = "sha256-X6A1T8koNGxSQAFOi0SE7UdUfo9UfNeh5cGb22e01L4=" ;
25
+ } ;
26
+ } ) ;
27
+ }
28
+ ) ] ;
29
+ } ;
13
30
14
31
let
15
32
# For the documentation tools we use an older Nixpkgs since the
16
33
# newer versions seem to be not working great...
17
34
old-nixpkgs-src = fetchFromGitHub {
18
- owner = "NixOS" ;
19
- repo = "nixpkgs" ;
20
- rev = "d0d905668c010b65795b57afdf7f0360aac6245b" ;
21
- sha256 = "1kqxfmsik1s1jsmim20n5l4kq6wq8743h5h17igfxxbbwwqry88l" ;
22
- } ;
35
+ owner = "NixOS" ;
36
+ repo = "nixpkgs" ;
37
+ rev = "d0d905668c010b65795b57afdf7f0360aac6245b" ;
38
+ sha256 = "1kqxfmsik1s1jsmim20n5l4kq6wq8743h5h17igfxxbbwwqry88l" ;
39
+ } ;
23
40
old-nixpkgs = import old-nixpkgs-src { } ;
24
41
docs = import ./nix/docs.nix { nixpkgs = old-nixpkgs-src ; } ;
25
42
deps = import ./nix/deps.nix { inherit nixpkgs ; } ;
@@ -66,7 +83,7 @@ theStdenv.mkDerivation rec {
66
83
ps . sphinx
67
84
docs . breathe
68
85
docs . recommonmark
69
- ] ) )
86
+ ] ) )
70
87
old-nixpkgs . sass
71
88
old-nixpkgs . elmPackages . elm-reactor
72
89
old-nixpkgs . elmPackages . elm-make
You can’t perform that action at this time.
0 commit comments