mirror of
https://github.com/Mic92/nix-update.git
synced 2024-11-05 02:16:07 +03:00
use nix fmt
This commit is contained in:
parent
e92d560816
commit
a0e83f665c
@ -1,5 +1,5 @@
|
||||
{ pkgs ? import <nixpkgs> {},
|
||||
src ? ./.
|
||||
{ pkgs ? import <nixpkgs> { }
|
||||
, src ? ./.
|
||||
}:
|
||||
|
||||
|
||||
@ -26,7 +26,9 @@ python3.pkgs.buildPythonApplication rec {
|
||||
mypy --no-warn-unused-ignores --strict nix_update tests
|
||||
'';
|
||||
makeWrapperArgs = [
|
||||
"--prefix PATH" ":" (lib.makeBinPath [ pkgs.nixVersions.stable or nix_2_4 nixpkgs-fmt nixpkgs-review ])
|
||||
"--prefix PATH"
|
||||
":"
|
||||
(lib.makeBinPath [ pkgs.nixVersions.stable or nix_2_4 nixpkgs-fmt nixpkgs-review ])
|
||||
];
|
||||
shellHook = ''
|
||||
# workaround because `python setup.py develop` breaks for me
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
outputs = { self, nixpkgs, flake-utils }:
|
||||
flake-utils.lib.eachDefaultSystem (system: {
|
||||
formatter = nixpkgs.legacyPackages.${system}.alejandra;
|
||||
formatter = nixpkgs.legacyPackages.${system}.nixpkgs-fmt;
|
||||
|
||||
packages = {
|
||||
default = self.packages.${system}.nix-update;
|
||||
|
@ -1,10 +1,10 @@
|
||||
{ pkgs ? import <nixpkgs> {} }:
|
||||
{ pkgs ? import <nixpkgs> { } }:
|
||||
{
|
||||
crate = pkgs.callPackage ./crate.nix {};
|
||||
github = pkgs.callPackage ./github.nix {};
|
||||
gitlab = pkgs.callPackage ./gitlab.nix {};
|
||||
pypi = pkgs.python3.pkgs.callPackage ./pypi.nix {};
|
||||
sourcehut = pkgs.python3.pkgs.callPackage ./sourcehut.nix {};
|
||||
savanna = pkgs.python3.pkgs.callPackage ./savanna.nix {};
|
||||
npm = pkgs.callPackage ./npm.nix {};
|
||||
crate = pkgs.callPackage ./crate.nix { };
|
||||
github = pkgs.callPackage ./github.nix { };
|
||||
gitlab = pkgs.callPackage ./gitlab.nix { };
|
||||
pypi = pkgs.python3.pkgs.callPackage ./pypi.nix { };
|
||||
sourcehut = pkgs.python3.pkgs.callPackage ./sourcehut.nix { };
|
||||
savanna = pkgs.python3.pkgs.callPackage ./savanna.nix { };
|
||||
npm = pkgs.callPackage ./npm.nix { };
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user