Update nixpkgs to 23.05, improve direnv integration and flake devShell (#17217)
This commit is contained in:
committed by
GitHub
parent
d79c0f0a6c
commit
f24c5331bc
16
flake.nix
16
flake.nix
@@ -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; };
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user