shell.nix 788 B

12345678910111213141516171819
  1. # This is a shell.nix file used to describe the environment that
  2. # tailscale needs for development.
  3. #
  4. # For more information about this and why this file is useful, see here:
  5. # https://nixos.org/guides/nix-pills/developing-with-nix-shell.html
  6. #
  7. # Also look into direnv: https://direnv.net/, this can make it so that you can
  8. # automatically get your environment set up when you change folders into the
  9. # project.
  10. (import (
  11. let
  12. lock = builtins.fromJSON (builtins.readFile ./flake.lock);
  13. in fetchTarball {
  14. url = "https://github.com/edolstra/flake-compat/archive/${lock.nodes.flake-compat.locked.rev}.tar.gz";
  15. sha256 = lock.nodes.flake-compat.locked.narHash; }
  16. ) {
  17. src = ./.;
  18. }).shellNix
  19. # nix-direnv cache busting line: sha256-WeMTOkERj4hvdg4yPaZ1gRgKnhRIBXX55kUVbX/k/xM=