From fc25d1ea4a6890d0e806a07b9f036a4395d41503 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Tue, 2 Jan 2024 22:46:30 +0100 Subject: [PATCH 1/2] bump version 3.0.4 --- README.md | 4 ++-- default.nix | 2 +- direnvrc | 2 +- templates/flake/.envrc | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 95a21e6..21222c2 100644 --- a/README.md +++ b/README.md @@ -70,8 +70,8 @@ for integration with shells other than Bash. Be sure to also allow Put the following lines in your `.envrc`: ```bash -if ! has nix_direnv_version || ! nix_direnv_version 3.0.3; then - source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.3/direnvrc" "sha256-0EVQVNSRQWsln+rgPW3mXVmnF5sfcmKEYOmOSfLYxHg=" +if ! has nix_direnv_version || ! nix_direnv_version 3.0.4; then + source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.4/direnvrc" "sha256-0EVQVNSRQWsln+rgPW3mXVmnF5sfcmKEYOmOSfLYxHg=" fi ``` diff --git a/default.nix b/default.nix index 9896f20..32b9000 100644 --- a/default.nix +++ b/default.nix @@ -4,7 +4,7 @@ # https://github.com/abathur/resholve/issues/107 resholve.mkDerivation rec { pname = "nix-direnv"; - version = "3.0.3"; + version = "3.0.4"; src = builtins.path { path = ./.; diff --git a/direnvrc b/direnvrc index b392be3..50a84cf 100644 --- a/direnvrc +++ b/direnvrc @@ -1,6 +1,6 @@ # shellcheck shell=bash -NIX_DIRENV_VERSION=3.0.3 +NIX_DIRENV_VERSION=3.0.4 # min required versions BASH_MIN_VERSION=4.4 diff --git a/templates/flake/.envrc b/templates/flake/.envrc index 1959138..d9b9f73 100644 --- a/templates/flake/.envrc +++ b/templates/flake/.envrc @@ -1,4 +1,4 @@ -if ! has nix_direnv_version || ! nix_direnv_version 3.0.3; then - source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.3/direnvrc" "sha256-0EVQVNSRQWsln+rgPW3mXVmnF5sfcmKEYOmOSfLYxHg=" +if ! has nix_direnv_version || ! nix_direnv_version 3.0.4; then + source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.4/direnvrc" "sha256-0EVQVNSRQWsln+rgPW3mXVmnF5sfcmKEYOmOSfLYxHg=" fi use flake From e999115d8e7c892f6e7f624b24bbb729864e15c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Tue, 2 Jan 2024 22:46:50 +0100 Subject: [PATCH 2/2] update fetchurl checksum --- README.md | 2 +- templates/flake/.envrc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 21222c2..2e06282 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ Put the following lines in your `.envrc`: ```bash if ! has nix_direnv_version || ! nix_direnv_version 3.0.4; then - source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.4/direnvrc" "sha256-0EVQVNSRQWsln+rgPW3mXVmnF5sfcmKEYOmOSfLYxHg=" + source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.4/direnvrc" "sha256-DzlYZ33mWF/Gs8DDeyjr8mnVmQGx7ASYqA5WlxwvBG4=" fi ``` diff --git a/templates/flake/.envrc b/templates/flake/.envrc index d9b9f73..7fd05db 100644 --- a/templates/flake/.envrc +++ b/templates/flake/.envrc @@ -1,4 +1,4 @@ if ! has nix_direnv_version || ! nix_direnv_version 3.0.4; then - source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.4/direnvrc" "sha256-0EVQVNSRQWsln+rgPW3mXVmnF5sfcmKEYOmOSfLYxHg=" + source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.4/direnvrc" "sha256-DzlYZ33mWF/Gs8DDeyjr8mnVmQGx7ASYqA5WlxwvBG4=" fi use flake