-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0886635
commit c13a03a
Showing
4 changed files
with
19 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
# reload when these files change | ||
watch_file flake.nix | ||
watch_file flake.lock | ||
|
||
eval "$(nix print-dev-env)" | ||
use_nix |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,18 @@ | ||
(import (fetchTarball https://github.com/edolstra/flake-compat/archive/master.tar.gz) { | ||
src = ./.; | ||
}).shellNix | ||
{ pkgs ? import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/nixos-21.11.tar.gz") { } }: | ||
|
||
pkgs.mkShell { | ||
# nativeBuildInputs is usually what you want -- tools you need to run | ||
nativeBuildInputs = with pkgs; [ | ||
# needed by nix | ||
nixpkgs-fmt | ||
rnix-lsp | ||
|
||
# for building docker images | ||
docker-client | ||
gnumake | ||
git | ||
|
||
# go dev | ||
go | ||
]; | ||
} |