Update nixpkgs to 23.05, improve direnv integration and flake devShell (#17217)

This commit is contained in:
Vera Aguilera Puerto
2023-06-08 21:25:04 +02:00
committed by GitHub
parent d79c0f0a6c
commit f24c5331bc
4 changed files with 19 additions and 15 deletions

View File

@@ -1,13 +1,13 @@
{
description = "Development environment for Space Station 14";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/release-22.11";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/release-23.05";
inputs.flake-utils.url = "github:numtide/flake-utils";
outputs = { self, nixpkgs, flake-utils, ... }:
flake-utils.lib.simpleFlake {
inherit self nixpkgs;
name = "space-station-14-devshell";
shell = ./shell.nix;
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system: let
pkgs = nixpkgs.legacyPackages.${system};
in {
devShells.default = import ./shell.nix { inherit pkgs; };
});
}