Skip to content

Commit

Permalink
Merge pull request #169 from qiboteam/nix
Browse files Browse the repository at this point in the history
Nix
  • Loading branch information
alecandido authored Feb 16, 2024
2 parents c34ba49 + 26cdf88 commit e1676ca
Show file tree
Hide file tree
Showing 4 changed files with 501 additions and 725 deletions.
58 changes: 22 additions & 36 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 8 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
systems.url = "github:nix-systems/default";
devenv.url = "github:cachix/devenv";
nixpkgs-python.url = "github:cachix/nixpkgs-python";
nixpkgs-python = {
url = "github:cachix/nixpkgs-python";
inputs.nixpkgs.follows = "nixpkgs";
};
};

outputs = {
Expand Down Expand Up @@ -31,15 +34,17 @@
in {
default = devenv.lib.mkShell {
inherit inputs pkgs;

modules = [
{
packages = with pkgs; [pre-commit];
packages = with pkgs; [pre-commit poethepoet stdenv.cc.cc.lib];

languages.python = {
enable = true;
poetry = {
enable = true;
install.enable = true;
install.groups = ["dev" "test"];
install.allExtras = true;
};
version = "3.11";
Expand Down
Loading

0 comments on commit e1676ca

Please sign in to comment.