File tree Expand file tree Collapse file tree 7 files changed +16
-40
lines changed Expand file tree Collapse file tree 7 files changed +16
-40
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ pushd tutorials
5
5
6
6
# # Getting started
7
7
pushd getting-started
8
- nix-build
8
+ nix-build -A hsPkgs.hello.components.exes.hello
9
9
nix-shell --pure --run " cabal build hello"
10
10
popd
11
11
@@ -50,4 +50,4 @@ pushd iohk-nix
50
50
nix build --accept-flake-config
51
51
popd
52
52
53
- popd
53
+ popd
Original file line number Diff line number Diff line change @@ -26,5 +26,5 @@ in pkgs.haskell-nix.project {
26
26
src = ./. ;
27
27
} ;
28
28
# Specify the GHC version to use.
29
- compiler-nix-name = "ghc92 " ; # Not required for `stack.yaml` based projects.
29
+ compiler-nix-name = "ghc96 " ; # Not required for `stack.yaml` based projects.
30
30
}
Original file line number Diff line number Diff line change 5
5
"homepage" : " https://input-output-hk.github.io/haskell.nix" ,
6
6
"owner" : " input-output-hk" ,
7
7
"repo" : " haskell.nix" ,
8
- "rev" : " d61a3f429425e57108ca2b5355f10df94dafe39d " ,
9
- "sha256" : " 1fra8grb1jzfb794vm9kw090bb5kiq5g11xmb3nkm2lk60yixjx3 " ,
8
+ "rev" : " faab397be774447638b6e8a18d429fc8e733648d " ,
9
+ "sha256" : " 10hxhd43fsgq7i9cw2qbyjzhwp2v6wmpnsllf3fg4iq2xwczld8h " ,
10
10
"type" : " tarball" ,
11
- "url" : " https://github.com/input-output-hk/haskell.nix/archive/d61a3f429425e57108ca2b5355f10df94dafe39d.tar.gz" ,
12
- "url_template" : " https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
13
- },
14
- "nixpkgs" : {
15
- "branch" : " release-22.11" ,
16
- "description" : " Nix Packages collection" ,
17
- "homepage" : " " ,
18
- "owner" : " NixOS" ,
19
- "repo" : " nixpkgs" ,
20
- "rev" : " b7ce17b1ebf600a72178f6302c77b6382d09323f" ,
21
- "sha256" : " sha256-uNvD7fzO5hNlltNQUAFBPlcEjNG5Gkbhl/ROiX+GZU4=" ,
22
- "type" : " tarball" ,
23
- "url" : " https://github.com/NixOS/nixpkgs/archive/b7ce17b1ebf600a72178f6302c77b6382d09323f.tar.gz" ,
11
+ "url" : " https://github.com/input-output-hk/haskell.nix/archive/faab397be774447638b6e8a18d429fc8e733648d.tar.gz" ,
24
12
"url_template" : " https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
25
13
}
26
14
}
Original file line number Diff line number Diff line change 12
12
helloProject =
13
13
final . haskell-nix . project' {
14
14
src = ./. ;
15
- compiler-nix-name = "ghc92 " ;
15
+ compiler-nix-name = "ghc96 " ;
16
16
# This is used by `nix develop .` to open a shell for use with
17
17
# `cabal`, `hlint` and `haskell-language-server`
18
18
shell . tools = {
19
19
cabal = { } ;
20
- hlint = { } ;
21
- haskell-language-server = { } ;
20
+ # hlint = {};
21
+ # haskell-language-server = {};
22
22
} ;
23
23
# Non-Haskell shell tools go here
24
24
shell . buildInputs = with pkgs ; [
Original file line number Diff line number Diff line change @@ -26,5 +26,5 @@ in pkgs.haskell-nix.project {
26
26
src = ./. ;
27
27
} ;
28
28
# Specify the GHC version to use.
29
- compiler-nix-name = "ghc92 " ; # Not required for `stack.yaml` based projects.
29
+ compiler-nix-name = "ghc96 " ; # Not required for `stack.yaml` based projects.
30
30
}
Original file line number Diff line number Diff line change 5
5
"homepage" : " https://input-output-hk.github.io/haskell.nix" ,
6
6
"owner" : " input-output-hk" ,
7
7
"repo" : " haskell.nix" ,
8
- "rev" : " d61a3f429425e57108ca2b5355f10df94dafe39d " ,
9
- "sha256" : " 1fra8grb1jzfb794vm9kw090bb5kiq5g11xmb3nkm2lk60yixjx3 " ,
8
+ "rev" : " faab397be774447638b6e8a18d429fc8e733648d " ,
9
+ "sha256" : " 10hxhd43fsgq7i9cw2qbyjzhwp2v6wmpnsllf3fg4iq2xwczld8h " ,
10
10
"type" : " tarball" ,
11
- "url" : " https://github.com/input-output-hk/haskell.nix/archive/d61a3f429425e57108ca2b5355f10df94dafe39d.tar.gz" ,
12
- "url_template" : " https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
13
- },
14
- "nixpkgs" : {
15
- "branch" : " release-21.05" ,
16
- "description" : " Nix Packages collection" ,
17
- "homepage" : " " ,
18
- "owner" : " NixOS" ,
19
- "repo" : " nixpkgs" ,
20
- "rev" : " 5f244caea76105b63d826911b2a1563d33ff1cdc" ,
21
- "sha256" : " 1xlgynfw9svy7nvh9nkxsxdzncv9hg99gbvbwv3gmrhmzc3sar75" ,
22
- "type" : " tarball" ,
23
- "url" : " https://github.com/NixOS/nixpkgs/archive/5f244caea76105b63d826911b2a1563d33ff1cdc.tar.gz" ,
11
+ "url" : " https://github.com/input-output-hk/haskell.nix/archive/faab397be774447638b6e8a18d429fc8e733648d.tar.gz" ,
24
12
"url_template" : " https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
25
13
}
26
14
}
Original file line number Diff line number Diff line change 1
1
( import ./default.nix ) . shellFor {
2
2
tools = {
3
3
cabal = "latest" ;
4
- hlint = "latest" ;
5
- haskell-language-server = "latest" ;
4
+ # hlint = "latest";
5
+ # haskell-language-server = "latest";
6
6
} ;
7
- }
7
+ }
You can’t perform that action at this time.
0 commit comments