nix/pkgs: adapt to poetry2nix
This commit is contained in:
parent
47f3220444
commit
7565b32c45
3 changed files with 6 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
|||
{ depot, src, pkgs, lib, ... }:
|
||||
|
||||
let
|
||||
inherit (pkgs) poetry2nix;
|
||||
inherit (depot.third_party) poetry2nix;
|
||||
pyproject = pkgs.runCommand "authentik-pyproject" { src = "${src}/pyproject.toml"; } ''
|
||||
sed 's/extras = \["standard"\],//' $src > $out
|
||||
'';
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
{ fetchFromGitLab
|
||||
{ depot
|
||||
, fetchFromGitLab
|
||||
, pkgs
|
||||
, lib
|
||||
, stdenv
|
||||
, makeWrapper
|
||||
, python3
|
||||
, poetry2nix
|
||||
, nodejs-18_x
|
||||
, ossOnly ? true
|
||||
}:
|
||||
|
@ -34,6 +34,7 @@ let
|
|||
};
|
||||
|
||||
nodejs = nodejs-18_x;
|
||||
inherit (depot.third_party) poetry2nix;
|
||||
poetry2nixOverrides = poetry2nix.defaultPoetryOverrides.overrideOverlay (self: super: let
|
||||
addBuildInputs = f: buildInputs: f.overridePythonAttrs (old: {
|
||||
buildInputs = (old.buildInputs or []) ++ buildInputs;
|
||||
|
|
|
@ -44,8 +44,8 @@
|
|||
sha256 = "18miswrdy3j2y59alqcw44pc2iv3kmsx7qmvak81z5bkmj2hjrss";
|
||||
};
|
||||
|
||||
baserow-oss = pkgs.callPackages ./baserow { ossOnly = true; };
|
||||
baserow = pkgs.callPackages ./baserow { ossOnly = false; };
|
||||
baserow-oss = pkgs.callPackages ./baserow { ossOnly = true; inherit depot; };
|
||||
baserow = pkgs.callPackages ./baserow { ossOnly = false; inherit depot; };
|
||||
|
||||
common-updater-scripts = pkgs.common-updater-scripts.override {
|
||||
nix = pkgs.nix_2_3;
|
||||
|
|
Loading…
Reference in a new issue