From dda29ca7685d360d5428dd827d11a9e4139a0872 Mon Sep 17 00:00:00 2001 From: Justin Bedo Date: Thu, 6 Oct 2022 10:21:34 +1100 Subject: init --- day2/ex1-hello-world/flake.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 day2/ex1-hello-world/flake.nix (limited to 'day2/ex1-hello-world/flake.nix') diff --git a/day2/ex1-hello-world/flake.nix b/day2/ex1-hello-world/flake.nix new file mode 100755 index 0000000..bfaca96 --- /dev/null +++ b/day2/ex1-hello-world/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 ./. {}; + }); +} -- cgit v1.2.3