From f32a6f17f6b1fb4bf9c3a9857e459177081dbb56 Mon Sep 17 00:00:00 2001 From: Christian Höppner Date: Sat, 14 Nov 2020 20:37:51 +0000 Subject: [OPS-1085] Add CI --- flake.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 81a639e..76afb54 100644 --- a/flake.nix +++ b/flake.nix @@ -34,6 +34,18 @@ program = "${self.defaultPackage."${system}"}/bin/deploy"; }; + devShell = let + inherit (self.packages.${system}) deploy-rs; + in + pkgs.mkShell { + inherit (deploy-rs) + nativeBuildInputs + builtDependencies; + + buildInputs = deploy-rs.buildInputs + ++ [ pkgs.nixUnstable ]; + }; + lib = rec { setActivate = base: activate: pkgs.buildEnv { name = ("activatable-" + base.name); -- cgit v1.2.3