2022-12-24 20:07:41 +00:00
|
|
|
# This is a shell.nix file used to describe the environment that
|
|
|
|
# tailscale needs for development.
|
2020-12-29 17:17:03 +00:00
|
|
|
#
|
|
|
|
# For more information about this and why this file is useful, see here:
|
|
|
|
# https://nixos.org/guides/nix-pills/developing-with-nix-shell.html
|
|
|
|
#
|
|
|
|
# Also look into direnv: https://direnv.net/, this can make it so that you can
|
|
|
|
# automatically get your environment set up when you change folders into the
|
|
|
|
# project.
|
2022-12-24 20:07:41 +00:00
|
|
|
(import (
|
|
|
|
let
|
|
|
|
lock = builtins.fromJSON (builtins.readFile ./flake.lock);
|
|
|
|
in fetchTarball {
|
|
|
|
url = "https://github.com/edolstra/flake-compat/archive/${lock.nodes.flake-compat.locked.rev}.tar.gz";
|
|
|
|
sha256 = lock.nodes.flake-compat.locked.narHash; }
|
|
|
|
) {
|
|
|
|
src = ./.;
|
|
|
|
}).shellNix
|
2024-02-08 02:11:01 +00:00
|
|
|
# nix-direnv cache busting line: sha256-OfwliH0EmrGoOVog8b27F0p5+foElOrRZkOtGR4+Sts=
|