Skip to content

Commit

Permalink
fix flakes example
Browse files Browse the repository at this point in the history
  • Loading branch information
jpetrucciani committed Oct 26, 2024
1 parent 3b4f09a commit 9799f0f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ pog.pog {

or if you want to add it as an overlay to nixpkgs, you can add `pog.overlay` in your overlays for nixpkgs!

using flakes (TODO: fix this):
using flakes:

```nix
{
Expand All @@ -73,7 +73,8 @@ using flakes (TODO: fix this):
system = "x86_64-linux";
in
{
packages = nixpkgs { inherit system; overlays = [ pog.overlay ]; };
packages = nixpkgs { inherit system; overlays = [ pog.overlays.${system}.default ]; };
devShells.${system}.default = pkgs.mkShell {nativeBuildInputs = [(pkgs.pog.pog {name = "meme"; script= ''echo meme'';})];};
};
}
```
Expand Down

0 comments on commit 9799f0f

Please sign in to comment.