forked from wylab/wylab-station-14
Generated
+4
-4
@@ -20,16 +20,16 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1737097711,
|
"lastModified": 1765890948,
|
||||||
"narHash": "sha256-Zql7TDxEMAOASLSu0wBlfM5SIY+4Pz2R/k17O/asCYc=",
|
"narHash": "sha256-Xe6fZzDS8uy9f17Pv6NEeBS9R6MFyuepbQUy6Xq/wH0=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "3cbc78cfa611511c04f47c4932509f9dbdf4381a",
|
"rev": "f92e917d0cefd3eca9d56ae25d689da841a989fd",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"ref": "release-24.11",
|
"ref": "release-25.11",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,13 +1,22 @@
|
|||||||
{
|
{
|
||||||
description = "Development environment for Space Station 14";
|
description = "Development environment for Space Station 14";
|
||||||
|
|
||||||
inputs.nixpkgs.url = "github:NixOS/nixpkgs/release-24.11";
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs/release-25.11";
|
||||||
inputs.flake-utils.url = "github:numtide/flake-utils";
|
inputs.flake-utils.url = "github:numtide/flake-utils";
|
||||||
|
|
||||||
outputs = { self, nixpkgs, flake-utils }:
|
outputs =
|
||||||
flake-utils.lib.eachDefaultSystem (system: let
|
{
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
self,
|
||||||
in {
|
nixpkgs,
|
||||||
devShells.default = import ./shell.nix { inherit pkgs; };
|
flake-utils,
|
||||||
});
|
}:
|
||||||
|
flake-utils.lib.eachDefaultSystem (
|
||||||
|
system:
|
||||||
|
let
|
||||||
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
|
in
|
||||||
|
{
|
||||||
|
devShells.default = import ./shell.nix { inherit pkgs; };
|
||||||
|
}
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,16 +1,20 @@
|
|||||||
{ pkgs ? (let lock = builtins.fromJSON (builtins.readFile ./flake.lock);
|
{
|
||||||
in import (builtins.fetchTarball {
|
pkgs ? (
|
||||||
url =
|
let
|
||||||
"https://github.com/NixOS/nixpkgs/archive/${lock.nodes.nixpkgs.locked.rev}.tar.gz";
|
lock = builtins.fromJSON (builtins.readFile ./flake.lock);
|
||||||
sha256 = lock.nodes.nixpkgs.locked.narHash;
|
in
|
||||||
}) { }) }:
|
import (builtins.fetchTarball {
|
||||||
|
url = "https://github.com/NixOS/nixpkgs/archive/${lock.nodes.nixpkgs.locked.rev}.tar.gz";
|
||||||
|
sha256 = lock.nodes.nixpkgs.locked.narHash;
|
||||||
|
}) { }
|
||||||
|
),
|
||||||
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
dependencies = with pkgs; [
|
dependencies = with pkgs; [
|
||||||
dotnetCorePackages.sdk_9_0
|
dotnetCorePackages.sdk_9_0
|
||||||
icu
|
icu
|
||||||
glfw
|
glfw
|
||||||
SDL2
|
|
||||||
libGL
|
libGL
|
||||||
openal
|
openal
|
||||||
freetype
|
freetype
|
||||||
@@ -43,8 +47,11 @@ let
|
|||||||
at-spi2-core
|
at-spi2-core
|
||||||
cups
|
cups
|
||||||
python3
|
python3
|
||||||
|
wayland
|
||||||
|
nixfmt
|
||||||
];
|
];
|
||||||
in pkgs.mkShell {
|
in
|
||||||
|
pkgs.mkShell {
|
||||||
name = "space-station-14-devshell";
|
name = "space-station-14-devshell";
|
||||||
buildInputs = [ pkgs.gtk3 ];
|
buildInputs = [ pkgs.gtk3 ];
|
||||||
packages = dependencies;
|
packages = dependencies;
|
||||||
|
|||||||
Reference in New Issue
Block a user