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:
erikarvstedt 2021-12-06 15:01:26 +01:00 committed by GitHub
parent 70b72a343f
commit 46d00f3b43
Failed to generate hash of commit
4 changed files with 5 additions and 5 deletions

View file

@ -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: |

View file

@ -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: |

View file

@ -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

View file

@ -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; };
};
}