flake: add 'diff-flake' to 'apps' and 'defaultApp'
That way I can just run `nix flake update`, commit, and `nix run` to get a list of updates.
This commit is contained in:
parent
7d91351c8e
commit
37a134ebd2
|
@ -51,7 +51,13 @@
|
||||||
let
|
let
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
in
|
in
|
||||||
{
|
rec {
|
||||||
|
apps = {
|
||||||
|
diff-flake = futils.lib.mkApp { drv = packages.diff-flake; };
|
||||||
|
};
|
||||||
|
|
||||||
|
defaultApp = apps.diff-flake;
|
||||||
|
|
||||||
devShell = pkgs.mkShell {
|
devShell = pkgs.mkShell {
|
||||||
name = "NixOS-config";
|
name = "NixOS-config";
|
||||||
buildInputs = with pkgs; [
|
buildInputs = with pkgs; [
|
||||||
|
|
Loading…
Reference in a new issue