aboutsummaryrefslogtreecommitdiff
path: root/day2/ex1-hello-world/flake.nix
blob: f7b7c62b637a0ed4bce4580ed9f5becb93b942ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
  inputs = {
    nixpkgs.url = "github:nixos/nixpkgs";
    bionix.url = "github:papenfusslab/bionix";
    flake-utils.url = "github:numtide/flake-utils";
  };

  outputs = {
    self,
    nixpkgs,
    bionix,
    flake-utils,
  }:
    flake-utils.lib.eachDefaultSystem (system: let
      pkgs = import nixpkgs {inherit system;};
      bionix' = import bionix {nixpkgs = pkgs;};
    in {
      defaultPackage = bionix'.callBionix ./. {};
      packages.solution = bionix'.callBionix ./solution.nix {};
    });
}