blob: 5fa6547ff8ce1e168ab45c096610220f7b475634 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/sh
CHIAKI_SHELL=/tmp/.chiaki.nix
cat <<EOF > $CHIAKI_SHELL
let
nixgl = import (fetchTarball https://github.com/guibou/nixGL/archive/main.tar.gz) { };
in
{ nixpkgs ? import <nixpkgs> {} }:
with nixpkgs; mkShell {
buildInputs = [
chiaki
nixgl.auto.nixGLDefault
];
shellHook = ''
nixGL chiaki && exit;
'';
}
EOF
nix-shell $CHIAKI_SHELL
|