flake, overlay: Rename package to flake-info
(#383)
The package now has the same name as the `app` and the command (`bin/flake-info`).
This commit is contained in:
parent
70b72a343f
commit
46d00f3b43
2
.github/workflows/cron-flakes.yml
vendored
2
.github/workflows/cron-flakes.yml
vendored
|
@ -54,7 +54,7 @@ jobs:
|
|||
|
||||
- name: Building import_scripts
|
||||
run: |
|
||||
nix build ./#packages.x86_64-linux.flake_info
|
||||
nix build ./#packages.x86_64-linux.flake-info
|
||||
|
||||
- name: Import ${{ matrix.group }} group
|
||||
run: |
|
||||
|
|
2
.github/workflows/cron-nixpkgs.yml
vendored
2
.github/workflows/cron-nixpkgs.yml
vendored
|
@ -57,7 +57,7 @@ jobs:
|
|||
|
||||
- name: Building import_scripts
|
||||
run: |
|
||||
nix build ./#packages.x86_64-linux.flake_info
|
||||
nix build ./#packages.x86_64-linux.flake-info
|
||||
|
||||
- name: Import ${{ matrix.channel }} channel
|
||||
run: |
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
import path { inherit pkgs; };
|
||||
packages = system:
|
||||
{
|
||||
flake_info = mkPackage ./flake-info system;
|
||||
flake-info = mkPackage ./flake-info system;
|
||||
frontend = mkPackage ./. system;
|
||||
};
|
||||
|
||||
|
@ -33,7 +33,7 @@
|
|||
{
|
||||
flake-info = {
|
||||
type = "app";
|
||||
program = "${(packages system).flake_info}/bin/flake-info";
|
||||
program = "${(packages system).flake-info}/bin/flake-info";
|
||||
};
|
||||
};
|
||||
in
|
||||
|
|
|
@ -3,6 +3,6 @@ final: prev:
|
|||
nixos-search = {
|
||||
frontend = import ./. { pkgs = prev; };
|
||||
import_scripts = import ./import-scripts { pkgs = prev; };
|
||||
flake_info = import ./flake-info { pkgs = prev; };
|
||||
flake-info = import ./flake-info { pkgs = prev; };
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue