-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
29 lines (27 loc) · 958 Bytes
/
flake.nix
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
28
29
{
description = "Utils for Nix4Science";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/23.05";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
(flake-utils.lib.eachDefaultSystem (system:
let pkgs = import nixpkgs { inherit system; };
in rec {
lib = import ./lib.nix {
inherit pkgs;
gotainer = self.packages.${system}.gotainer;
};
packages = rec {
gotainer = pkgs.callPackage ./pkgs/gotainer { };
snakemake = pkgs.callPackage ./pkgs/snakemake/v7.25.3.nix { };
mop = pkgs.callPackage ./pkgs/mop { };
};
# devShells = {
# default = pkgs.mkShell { buildInputs = with pkgs; [ gcc ]; };
# default = self.lib.${system}.mkShell { buildInputs = with pkgs; [ gcc ]; containerize = true;};
# };
})) // {
templates = import ./templates/templates.nix;
};
}