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
|
- name: Building import_scripts
|
||||||
run: |
|
run: |
|
||||||
nix build ./#packages.x86_64-linux.flake_info
|
nix build ./#packages.x86_64-linux.flake-info
|
||||||
|
|
||||||
- name: Import ${{ matrix.group }} group
|
- name: Import ${{ matrix.group }} group
|
||||||
run: |
|
run: |
|
||||||
|
|
2
.github/workflows/cron-nixpkgs.yml
vendored
2
.github/workflows/cron-nixpkgs.yml
vendored
|
@ -57,7 +57,7 @@ jobs:
|
||||||
|
|
||||||
- name: Building import_scripts
|
- name: Building import_scripts
|
||||||
run: |
|
run: |
|
||||||
nix build ./#packages.x86_64-linux.flake_info
|
nix build ./#packages.x86_64-linux.flake-info
|
||||||
|
|
||||||
- name: Import ${{ matrix.channel }} channel
|
- name: Import ${{ matrix.channel }} channel
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
import path { inherit pkgs; };
|
import path { inherit pkgs; };
|
||||||
packages = system:
|
packages = system:
|
||||||
{
|
{
|
||||||
flake_info = mkPackage ./flake-info system;
|
flake-info = mkPackage ./flake-info system;
|
||||||
frontend = mkPackage ./. system;
|
frontend = mkPackage ./. system;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@
|
||||||
{
|
{
|
||||||
flake-info = {
|
flake-info = {
|
||||||
type = "app";
|
type = "app";
|
||||||
program = "${(packages system).flake_info}/bin/flake-info";
|
program = "${(packages system).flake-info}/bin/flake-info";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
|
|
@ -3,6 +3,6 @@ final: prev:
|
||||||
nixos-search = {
|
nixos-search = {
|
||||||
frontend = import ./. { pkgs = prev; };
|
frontend = import ./. { pkgs = prev; };
|
||||||
import_scripts = import ./import-scripts { 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