Skip to content

Commit

Permalink
Update nixpkgs to 23.05, improve direnv integration and flake devShel…
Browse files Browse the repository at this point in the history
…l (#17217)
  • Loading branch information
gradientvera authored Jun 8, 2023
1 parent d79c0f0 commit f24c533
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 15 deletions.
3 changes: 3 additions & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
if ! has nix_direnv_version || ! nix_direnv_version 2.3.0; then
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.3.0/direnvrc" "sha256-Dmd+j63L84wuzgyjITIfSxSD57Tx7v51DMxVZOsiUD8="
fi
use flake
14 changes: 7 additions & 7 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -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; };
});
}
1 change: 1 addition & 0 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ let
SDL2
libGL
openal
glibc
freetype
fluidsynth
soundfont-fluid
Expand Down

0 comments on commit f24c533

Please sign in to comment.