Skip to content

Commit

Permalink
refactor(docs): clean up example flake code
Browse files Browse the repository at this point in the history
  • Loading branch information
gekoke committed Jun 27, 2024
1 parent 861670d commit 4472b26
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,12 @@ A minimal flake for creating an Emacs with the `magit-file-icons` package could
outputs =
inputs:
let
pkgs = import inputs.nixpkgs { system = "x86_64-linux"; };
system = "x86_64-linux";
pkgs = inputs.nixpkgs.legacyPackages.${system};
in
{
packages."x86_64-linux".default = pkgs.emacsWithPackages (p: [
inputs.magit-file-icons.packages."x86_64-linux".default
packages.${system}.default = pkgs.emacsWithPackages (_: [
inputs.magit-file-icons.packages.${system}.default
]);
};
}
Expand Down

0 comments on commit 4472b26

Please sign in to comment.