-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathflake.nix
More file actions
47 lines (39 loc) · 1.22 KB
/
flake.nix
File metadata and controls
47 lines (39 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
description = "SICK build environment";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/25.11";
inputs.flake-utils.url = "github:numtide/flake-utils";
inputs.mudyla.url = "github:7mind/mudyla";
inputs.mudyla.inputs.nixpkgs.follows = "nixpkgs";
outputs = { self, nixpkgs, flake-utils, mudyla }:
flake-utils.lib.eachDefaultSystem
(system:
let
pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
};
sharedPkgs = with pkgs.buildPackages; [
ncurses
graalvmPackages.graalvm-ce
sbt
dotnet-sdk_9
nodejs_24
gitMinimal
openssl
scala-cli
] ++ [
mudyla.packages.${system}.default
];
in
{
devShells.default = pkgs.mkShell { nativeBuildInputs = sharedPkgs; };
# use nix develop .#ide to enable JetBrains Rider from nixpkgs
devShells.ide = pkgs.mkShell {
nativeBuildInputs = sharedPkgs ++ [
pkgs.buildPackages.jetbrains.rider
];
# LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [ pkgs.stdenv.cc.cc.lib ];
};
}
);
}