aboutsummaryrefslogtreecommitdiff
path: root/day2/ex4-bwa/flake.nix
diff options
context:
space:
mode:
authorJustin Bedo <cu@cua0.org>2022-10-07 15:51:34 +1100
committerJustin Bedo <cu@cua0.org>2022-10-10 11:02:21 +1100
commit8c29f7d34fd713d7630ef081fd8cefbb83ef201b (patch)
tree18edf4af2c1ac0c909c138e7b6969aabf9d751b1 /day2/ex4-bwa/flake.nix
parent4e71791f46031ed248030efed90b6d5ed53ae50c (diff)
add ex4
Diffstat (limited to 'day2/ex4-bwa/flake.nix')
-rwxr-xr-xday2/ex4-bwa/flake.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/day2/ex4-bwa/flake.nix b/day2/ex4-bwa/flake.nix
new file mode 100755
index 0000000..bfaca96
--- /dev/null
+++ b/day2/ex4-bwa/flake.nix
@@ -0,0 +1,20 @@
+{
+ 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 ./. {};
+ });
+}