Refactor
All checks were successful
/ check (push) Successful in 1m22s

This commit is contained in:
Oliver Davies 2025-05-14 20:54:30 +01:00
parent adcb941c6d
commit 3a8388b09f

View file

@ -63,17 +63,19 @@ ls.add_snippets("nix", {
[[ [[
{ {
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";<inputs> nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";<inputs>
}; };
outputs = outputs =
{ nixpkgs, ... }: { nixpkgs, ... }:
let let
system = "x86_64-linux"; system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system}; pkgs = import nixpkgs { inherit system; };
inherit (pkgs) mkShell;
in in
{ {
devShells.${system}.default = pkgs.mkShell { devShells.${system}.default = mkShell {
packages = with pkgs; [ <pkgs> ]; packages = with pkgs; [ <pkgs> ];
};<finish> };<finish>