blob: 32972ba9d13a09a831c3b2ae9c52d3f3cde85b95 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
{ system, self, ... }:
let
pkgs = self.legacyPackages.${system};
in
with pkgs.poetry2nix;
mkPoetryApplication {
projectDir = cleanPythonSources { src = ./.; };
nativeBuildInputs = with pkgs; [ makeWrapper ];
postInstall = ''
wrapProgram $out/bin/sops-inventory \
--prefix PATH : ${pkgs.lib.makeBinPath (with pkgs; [git])}
'';
}
|