blob: 79dbb2d675d1f7ff4f554f90148543168ac9bbbb (
plain) (
blame)
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
|
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
library.url = "git+https://git.foss-syndicate.org/vhack.eu/nix-library?ref=prime";
};
outputs = {
nixpkgs,
library,
...
}: let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages."${system}";
inherit (library) nixLib;
shells = nixLib.mkByName {
useShards = false;
baseDirectory = ./shells;
fileName = "shell.nix";
finalizeFunction = name: value: pkgs.callPackage value {};
};
in {
devShells."${system}" = shells;
};
}
|