Skip to content

Commit

Permalink
Fix build issue
Browse files Browse the repository at this point in the history
Applied changes from vlaci#178
  • Loading branch information
enadeau committed Jun 19, 2024
1 parent 9412807 commit d8f1fdd
Show file tree
Hide file tree
Showing 3 changed files with 126 additions and 13 deletions.
121 changes: 112 additions & 9 deletions flake.lock

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

14 changes: 12 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,22 @@
{
inputs = {
flake-utils.url = "github:numtide/flake-utils";
poetry2nix = {
url = "github:nix-community/poetry2nix/2024.5.939250";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils";
};
};

outputs = { self, flake-utils, nixpkgs }: (flake-utils.lib.eachDefaultSystem (
outputs = { self, flake-utils, nixpkgs, ... }@inputs: (flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = nixpkgs.legacyPackages.${system};
pkgs = import nixpkgs {
inherit system;
config.packageOverrides = _: {
poetry2nix = inputs.poetry2nix.lib.mkPoetry2Nix { inherit pkgs; };
};
};
openconnect-sso = (import ./nix { inherit pkgs; }).openconnect-sso;
in
{
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,5 @@ pytest-httpserver = "^1.0"
target-version = ['py36', 'py37', 'py38']

[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

0 comments on commit d8f1fdd

Please sign in to comment.