mirror of
https://github.com/ananthakumaran/paisa.git
synced 2024-09-12 16:39:28 -04:00
17 lines
369 B
Nix
17 lines
369 B
Nix
{ pkgs ? import <nixpkgs> { } }:
|
|
|
|
let
|
|
pinned = import (builtins.fetchTarball {
|
|
url =
|
|
"https://github.com/NixOS/nixpkgs/archive/1ffba9f2f683063c2b14c9f4d12c55ad5f4ed887.tar.gz";
|
|
}) { };
|
|
|
|
in pkgs.mkShell {
|
|
nativeBuildInputs =
|
|
[ pinned.go_1_18 pinned.gopls pkgs.sqlite pkgs.nodejs-17_x pkgs.mdbook ];
|
|
|
|
shellHook = ''
|
|
export CGO_ENABLED=1
|
|
'';
|
|
}
|