mach-nix/flake.nix

22 lines
556 B
Nix
Raw Normal View History

2020-07-18 06:41:26 +00:00
{
description = "Create highly reproducible python environments";
inputs.flake-utils.url = "github:numtide/flake-utils";
outputs = { self, nixpkgs, flake-utils }: {
packages.mach-nix = import ./default.nix;
defaultPackage = self.packages.mach-nix.mach-nix;
apps.mach-nix = flake-utils.lib.mkApp { drv = self.packages.mach-nix.mach-nix; };
defaultApp = self.apps.mach-nix;
mkPython = self.packages.mach-nix.mkPython;
mkPythonShell = self.packages.mach-nix.mkPythonShell;
};
}