Remove dependency on flake-utils

This commit is contained in:
coolneng 2025-05-18 17:46:37 +02:00
parent 5fd053f4c4
commit bf28af51a7
Signed by: coolneng
GPG Key ID: 9893DA236405AF57

View File

@ -1,14 +1,23 @@
{
description = "";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable-small";
inputs.flake-utils.url = "github:numtide/flake-utils";
outputs =
{ self, nixpkgs, ... }:
let
system = "x86_64-linux";
in
{
devShells."${system}".default =
let
pkgs = import nixpkgs {
inherit system;
};
in
pkgs.mkShell {
packages = with pkgs; [
];
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem
(system:
let pkgs = nixpkgs.legacyPackages.${system}; in
{
devShell = import ./shell.nix { inherit pkgs; };
}
);
shellHook = "";
};
};
}