-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflake.nix
More file actions
36 lines (33 loc) · 819 Bytes
/
flake.nix
File metadata and controls
36 lines (33 loc) · 819 Bytes
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
{
description = "igraph SE2 implementation";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs";
nix-matlab = {
url = "gitlab:doronbehar/nix-matlab";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, nix-matlab }:
let
system = "x86_64-linux";
pkgs = import nixpkgs { inherit system; };
in {
devShells.${system}.default =
(pkgs.mkShell.override { stdenv = pkgs.gcc10Stdenv; }) {
packages = (with nix-matlab.packages.${system}; [
matlab
matlab-mlint
matlab-mex
]) ++ (with pkgs; [
cmake
clang-tools
ninja
gdb
# igraph dependencies
bison
flex
libxml2
]);
};
};
}