feat: update the package a bit, conform to pep8
This commit is contained in:
parent
867786099a
commit
fcf24cd5cd
6 changed files with 80 additions and 106 deletions
23
flake.nix
23
flake.nix
|
|
@ -6,13 +6,18 @@
|
|||
pre-commit-hooks.url = "github:cachix/pre-commit-hooks.nix";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, flake-utils, pre-commit-hooks, ... }:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in {
|
||||
devShells.x86_64-linux.default =
|
||||
(import ./shell.nix { inherit pkgs pre-commit-hooks; });
|
||||
packages.x86_64-linux.default = (import ./default.nix { inherit pkgs; });
|
||||
};
|
||||
outputs = {
|
||||
self,
|
||||
nixpkgs,
|
||||
flake-utils,
|
||||
pre-commit-hooks,
|
||||
...
|
||||
}: let
|
||||
system = "x86_64-linux";
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in {
|
||||
devShells.x86_64-linux.default =
|
||||
import ./shell.nix {inherit pkgs pre-commit-hooks;};
|
||||
packages.x86_64-linux.default = import ./default.nix {inherit pkgs;};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue