Skip to content

Commit

Permalink
add flake compatability (#167)
Browse files Browse the repository at this point in the history
Why
===
* If we want to add replit-nixpkgs as the default nixpkgs registry
entry, it needs a flake entrypoint
* Using our already cached nixpkgs as the default registry will
dramaticaclly speed up flakes using the default `nixpkgs`

What changed
===
* Added simple flake for `nix registry` compatablity
  • Loading branch information
vlinkz authored Jul 12, 2024
1 parent eb18a07 commit 6f25ac3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
outputs =
{ self }:
let
system = "x86_64-linux";
in
{
legacyPackages.${system} = import ./. { inherit system; };
};
}

0 comments on commit 6f25ac3

Please sign in to comment.