styling fixes
This commit is contained in:
parent
a9b2bf3560
commit
71c54a21c0
7 changed files with 35 additions and 25 deletions
21
flake.nix
21
flake.nix
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
description = "Invoiceplane invoice template development shell";
|
||||
|
||||
inputs.nixpkgs.url = "nixpkgs/master";
|
||||
inputs.nixpkgs.url = "nixpkgs/nixos-25.05";
|
||||
|
||||
outputs = { self, nixpkgs, ... }@inputs:
|
||||
let
|
||||
|
|
@ -22,19 +22,24 @@
|
|||
(self: super: {
|
||||
froide-govplan = super.froide-govplan.overrideAttrs (oldAttrs: rec {
|
||||
src = ./.;
|
||||
#pkgs.fetchFromGitHub {
|
||||
# owner = "onny";
|
||||
# repo = "froide-govplan";
|
||||
# rev = "81697ce37cfdee7b5d0f667c50b13062ed9786c3";
|
||||
# hash = "sha256-ooHGlCKgZL+TMh6OtopKtbkV0MhT4udLCOIC+C3Ytdw=";
|
||||
#};
|
||||
postInstall = oldAttrs.postInstall + ''
|
||||
rm -r $out/${pkgs.python3.sitePackages}/froide_govplan/templates
|
||||
ln -sf /var/lib/froide-govplan/templates $out/${pkgs.python3.sitePackages}/froide_govplan/templates
|
||||
cp -r froide_govplan/static $out/${pkgs.python3.sitePackages}/froide_govplan/
|
||||
'';
|
||||
});
|
||||
})
|
||||
|
||||
pythonPackagesExtensions = super.pythonPackagesExtensions ++ [
|
||||
(
|
||||
python-final: python-prev: {
|
||||
moto = python-prev.moto.overridePythonAttrs (oldAttrs: { doCheck = false; });
|
||||
}
|
||||
)
|
||||
];
|
||||
|
||||
|
||||
|
||||
})
|
||||
];
|
||||
};
|
||||
modules = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue