-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathflake.nix
More file actions
27 lines (25 loc) · 788 Bytes
/
flake.nix
File metadata and controls
27 lines (25 loc) · 788 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
description = "agda-net";
inputs = {
nixpkgs.url = github:NixOS/nixpkgs/nixos-21.05;
flake-utils.url = github:numtide/flake-utils;
};
outputs = { self, nixpkgs, flake-utils }: flake-utils.lib.eachDefaultSystem (system:
with (import nixpkgs { inherit system; });
{
defaultPackage =
agdaPackages.mkDerivation {
pname = "agda-net";
version = "0.0";
src = nix-gitignore.gitignoreSource [ "*.nix" "flake.lock" "result" "build-env" ] ./.;
buildInputs = [
agdaPackages.standard-library
];
};
devShell =
mkShell {
name = "agda-dev_" + self.defaultPackage.${system}.pname;
buildInputs = self.defaultPackage.${system}.buildInputs;
};
});
}