28 lines
572 B
Nix
28 lines
572 B
Nix
{
|
|
description = "A very basic flake";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
|
};
|
|
|
|
inputs.utils.url = "github:numtide/flake-utils";
|
|
|
|
outputs = { self, nixpkgs, utils, ... }:
|
|
|
|
nixpkgs.lib.attrsets.recursiveUpdate
|
|
(utils.lib.eachSystem (utils.lib.defaultSystems) ( system:
|
|
let
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
in
|
|
{
|
|
devShells.default = pkgs.mkShell {
|
|
packages = with pkgs; [
|
|
go
|
|
gotools
|
|
poppler_utils #get first pdf page to png
|
|
tailwindcss
|
|
];
|
|
};
|
|
})) {};
|
|
}
|