Skip to content
Snippets Groups Projects
Select Git revision
  • 02ec7f0eed2d35204153b380d640726953900deb
  • master default protected
  • 0.5.9
  • 0.5.8
  • 0.5.7
  • 0.5.6
  • 0.5.5
  • 0.5.4
  • 0.5.3
  • 0.5.2
  • 0.5.1
  • 0.5.0
  • 0.4.17
  • 0.4.16
  • 0.4.15
  • 0.4.14
  • 0.4.13
  • 0.4.12
  • 0.4.11
  • 0.4.10
  • 0.4.9
  • 0.4.8
22 results

licenses.mk

Blame
  • .envrc 781 B
    if ! has nix_direnv_version || ! nix_direnv_version 2.2.1; then
      source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.2.1/direnvrc" "sha256-zelF0vLbEl5uaqrfIzbgNzJWGmLzCmYAkInj/LNxvKs="
    fi
    
    nix_direnv_watch_file devenv.nix
    nix_direnv_watch_file system/scripts/*.nix
    nix_direnv_watch_file system/config/*.nix
    nix_direnv_watch_file project.nix
    nix_direnv_watch_file devenv.lock
    nix_direnv_watch_file devenv.yaml
    
    nix_direnv_watch_file flake.nix
    nix_direnv_watch_file flake.lock
    
    if ! use flake . --impure --show-trace 
    then
      echo "devenv could not be built. The devenv environment was not loaded. Make the necessary changes to devenv.nix and hit enter to try again." >&2
    fi
    
    updateCommand="update-files"
    if type "$command" &>/dev/null; then 
        $command 
    fi