-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
39 lines (32 loc) · 929 Bytes
/
flake.nix
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
{
description = "konstantin astafurov's mini-projects";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
};
outputs = { self, nixpkgs }:
let pkgs = nixpkgs.legacyPackages.x86_64-linux; in {
packages.x86_64-linux.hello = nixpkgs.legacyPackages.x86_64-linux.hello;
packages.x86_64-linux.default = self.packages.x86_64-linux.hello;
devShells.x86_64-linux.autodiff-chicken = pkgs.mkShell {
name = "autodiff-chicken";
buildInputs = with pkgs.chickenPackages.chickenEggs; [
pkgs.chicken
breadline
];
};
devShells.x86_64-linux.mips-c-vm = pkgs.mkShell {
name = "mips-c-vm";
buildInputs = with pkgs.chickenPackages.chickenEggs; [
pkgs.chicken
r7rs
breadline
pkgs.gnumake
pkgs.SDL2
pkgs.pkg-config
pkgs.gcc
pkgs.mars-mips
# pkgs.chibi
];
};
};
}