Skip to content

Commit abfd8b4

Browse files
committed
add cabal-docspec to flake dependencies
Currently from the Nix user repo because it is not yet on hackage or nixpkgs
1 parent 0e86410 commit abfd8b4

File tree

2 files changed

+24
-3
lines changed

2 files changed

+24
-3
lines changed

flake.lock

Lines changed: 17 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,16 @@
33

44
inputs = {
55
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
6+
nur.url = "github:nix-community/nur";
67
flake-utils.url = "github:numtide/flake-utils";
78
};
89

9-
outputs = { self, nixpkgs, flake-utils }:
10+
outputs = { self, nixpkgs, nur, flake-utils }:
1011
flake-utils.lib.eachDefaultSystem (system: let
11-
12+
nurpkgs = import nur {
13+
nurpkgs = nixpkgs.legacyPackages.x86_64-linux;
14+
pkgs = nixpkgs.legacyPackages.x86_64-linux;
15+
};
1216
compiler = "8107";
1317
# compiler = "921";
1418
pkgs = import nixpkgs {
@@ -52,6 +56,7 @@
5256
buildInputs = [
5357
ghc
5458
hspkgs.cabal-install
59+
nurpkgs.repos.amesgen.cabal-docspec
5560
];
5661
};
5762
});

0 commit comments

Comments
 (0)