-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
39 lines (35 loc) · 1.1 KB
/
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 = "printer go bzzz bzzzzzz pzzz";
inputs = {
flakey-devShells.url = "https://flakehub.com/f/GetPsyched/not-so-flakey-devshells/0.x.x.tar.gz";
flakey-devShells.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = inputs@{ nixpkgs, flakey-devShells, ... }:
let
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
config.allowUnfreePredicate = pkg: builtins.elem (nixpkgs.lib.getName pkg) [
"corefonts"
];
};
flakey-devShell-pkgs = flakey-devShells.outputs.packages.${system};
princexml = pkgs.callPackage ./princexml.nix { };
in
{
devShells.${system}.default = pkgs.mkShell {
nativeBuildInputs = with pkgs; [
(flakey-devShell-pkgs.default.override { environments = [ "nix" "svelte" ]; })
(flakey-devShell-pkgs.vscodium.override { environments = [ "nix" "svelte" ]; })
corefonts
just
nodejs
princexml
watchexec
];
shellHook = ''
export PATH="$PWD/node_modules/.bin:$PATH";
'';
};
};
}