Skip to content

Commit 603f926

Browse files
committed
boring stuff
1 parent f7cc2de commit 603f926

File tree

5 files changed

+112
-0
lines changed

5 files changed

+112
-0
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ dist-newstyle/
55
devenv.lock
66
.pre-commit-config.yaml
77
*pdf
8+
.envrc
9+
session.yaml

videoChapter/.gitignore

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
.direnv/
2+
.devenv/
3+
dist-newstyle/
4+
dist
5+
dist-*
6+
cabal-dev
7+
*.o
8+
*.hi
9+
*.chi
10+
*.chs.h
11+
*.dyn_o
12+
*.dyn_hi
13+
.hpc
14+
.hsenv
15+
.cabal-sandbox/
16+
cabal.sandbox.config
17+
*.prof
18+
*.aux
19+
*.hp
20+
*.eventlog
21+
.stack-work/
22+
result

videoChapter/devenv.nix

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{ pkgs, ... }:
2+
let compiler = "ghc96";
3+
in {
4+
packages = with pkgs.haskell.packages."${compiler}"; [
5+
fourmolu
6+
cabal-fmt
7+
implicit-hie
8+
ghcid
9+
];
10+
11+
languages.haskell.enable = true;
12+
}

videoChapter/devenv.yaml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# yaml-language-server: $schema=https://devenv.sh/devenv.schema.json
2+
inputs:
3+
nixpkgs:
4+
url: github:nixos/nixpkgs/nixos-24.11
5+
6+
# If you're using non-OSS software, you can set allowUnfree to true.
7+
# allowUnfree: true
8+
9+
# If you're willing to use a package that's vulnerable
10+
# permittedInsecurePackages:
11+
# - "openssl-1.1.1w"
12+
13+
# If you have more than one devenv you can merge them
14+
#imports:
15+
# - ./backend

videoChapter/flake.lock

+61
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)