feat: support non-flake users

This uses flakes-compat to read the `flake.nix` and expose it
to non-flake users.

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
Raito Bezarius 2024-02-07 11:36:05 -05:00 committed by June
parent 1f7ac6d112
commit 0e9eb22ee7
3 changed files with 43 additions and 12 deletions

View file

@ -3,6 +3,10 @@
nixpkgs.url = "github:NixOS/nixpkgs?ref=nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
nix-filter.url = "github:numtide/nix-filter";
flake-compat = {
url = "github:edolstra/flake-compat";
flake = false;
};
fenix = {
url = "github:nix-community/fenix";