File tree 3 files changed +9
-18
lines changed
3 files changed +9
-18
lines changed Original file line number Diff line number Diff line change 1
- use flake . --impure
1
+ use nix
Original file line number Diff line number Diff line change 1
1
let
2
2
# Read in the Niv sources
3
3
sources = {
4
- haskellNix = builtins . fetchTarball "https://github.com/input-output-hk/haskell.nix/archive/refs/tags/0.0.58 .tar.gz" ;
4
+ haskellNix = builtins . fetchTarball "https://github.com/input-output-hk/haskell.nix/archive/refs/tags/0.0.66 .tar.gz" ;
5
5
} ;
6
6
7
7
# If ./nix/sources.nix file is not found run:
18
18
# haskell.nix provides access to the nixpkgs pins which are used by our CI,
19
19
# hence you will be more likely to get cache hits when using these.
20
20
# But you can also just use your own, e.g. '<nixpkgs>'.
21
- haskellNix . sources . nixpkgs-2205
21
+ haskellNix . sources . nixpkgs-unstable
22
22
# These arguments passed to nixpkgs, include some patches and also
23
23
# the haskell.nix functionality itself as an overlay.
24
24
haskellNix . nixpkgsArgs ;
Original file line number Diff line number Diff line change 1
- with ( import ./nixpkgs.nix ) ;
2
-
3
- haskell . lib . buildStackProject {
4
- name = "dhall-secret-dev-env" ;
5
- src = ./. ;
6
- shellHook = ''
7
- export AWS_REGION=ap-southeast-2
8
- export MY_AES_SECRET=super-secure-secret
9
- '' ;
10
- buildInputs = [
11
- stack
12
- zlib . dev
13
- age
14
- haskell . compiler . ghc8107
15
- ] ;
1
+ ( import ./default.nix ) . shellFor {
2
+ tools = {
3
+ cabal = "latest" ;
4
+ # hlint = "latest";
5
+ haskell-language-server = "latest" ;
6
+ } ;
16
7
}
You can’t perform that action at this time.
0 commit comments