projet-transversal/flake.nix
2023-01-19 09:08:19 +01:00

25 lines
588 B
Nix

{
description = "Proj APP";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let pkgs = nixpkgs.legacyPackages.${system};
in {
devShell = pkgs.mkShell {
buildInputs = with pkgs; [
poetry
python3
(python310Packages.opencv4.override {
enableGtk2 = true;
gtk2 = pkgs.gtk2;
})
];
};
});
}