this repo has no description

meta: nix refactor (#1)

Reviewed-on: https://codeberg.org/comfysage/ebil/pulls/1
Co-authored-by: june <me@koi.rip>
Co-committed-by: june <me@koi.rip>

authored by koi.rip koi.rip and committed by robinwobin.dev 6531d501 212de4d8

+14 -6
+3
.envrc
··· 1 + if has nix; then 2 + use flake 3 + fi
default.nix nix/package.nix
+4 -6
flake.nix
··· 1 1 { 2 2 description = "ebil.club cli"; 3 3 4 - inputs = { 5 - nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; 6 - }; 4 + inputs.nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; 7 5 8 6 outputs = 9 7 { self, nixpkgs }: ··· 16 14 in 17 15 { 18 16 packages = forAllSystems (pkgs: { 19 - ebil = pkgs.callPackage ./default.nix { }; 17 + ebil = pkgs.callPackage ./nix/package.nix { }; 20 18 default = self.packages.${pkgs.stdenv.hostPlatform.system}.ebil; 21 19 }); 22 20 23 21 devShells = forAllSystems (pkgs: { 24 - default = pkgs.callPackage ./shell.nix { }; 22 + default = pkgs.callPackage ./nix/shell.nix { }; 25 23 }); 26 24 27 - overlays.default = final: _: { ebil = final.callPackage ./default.nix { }; }; 25 + overlays.default = final: _: { ebil = final.callPackage ./nix/package.nix { }; }; 28 26 }; 29 27 }
+7
nix/shell.nix
··· 1 + { mkShellNoCC, shellcheck, shfmt }: 2 + mkShellNoCC { 3 + packages = [ 4 + shellcheck 5 + shfmt 6 + ]; 7 + }