From 05db15c3e87acde80558c07c8911ca9649a1f90f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Mon, 3 Jun 2024 14:07:42 +0200 Subject: [PATCH 1/2] bump version 3.0.5 --- 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 6d55594a..20c0bb16 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.4; then - source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.4/direnvrc" "sha256-DzlYZ33mWF/Gs8DDeyjr8mnVmQGx7ASYqA5WlxwvBG4=" +if ! has nix_direnv_version || ! nix_direnv_version 3.0.5; then + source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.5/direnvrc" "sha256-DzlYZ33mWF/Gs8DDeyjr8mnVmQGx7ASYqA5WlxwvBG4=" fi ``` diff --git a/default.nix b/default.nix index 32b90002..5657e52c 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.4"; + version = "3.0.5"; src = builtins.path { path = ./.; diff --git a/direnvrc b/direnvrc index b57953f0..68cef33e 100644 --- a/direnvrc +++ b/direnvrc @@ -1,7 +1,7 @@ # -*- mode: sh -*- # shellcheck shell=bash -NIX_DIRENV_VERSION=3.0.4 +NIX_DIRENV_VERSION=3.0.5 # min required versions BASH_MIN_VERSION=4.4 diff --git a/templates/flake/.envrc b/templates/flake/.envrc index 7fd05db3..b1470135 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-DzlYZ33mWF/Gs8DDeyjr8mnVmQGx7ASYqA5WlxwvBG4=" +if ! has nix_direnv_version || ! nix_direnv_version 3.0.5; then + source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.5/direnvrc" "sha256-DzlYZ33mWF/Gs8DDeyjr8mnVmQGx7ASYqA5WlxwvBG4=" fi use flake From 1be830fb5cecf5c8af36b80c31be3e4247494627 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Mon, 3 Jun 2024 14:07:50 +0200 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 20c0bb16..9353e4d2 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.5; then - source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.5/direnvrc" "sha256-DzlYZ33mWF/Gs8DDeyjr8mnVmQGx7ASYqA5WlxwvBG4=" + source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.5/direnvrc" "sha256-RuwIS+QKFj/T9M2TFXScjBsLR6V3A17YVoEW/Q6AZ1w=" fi ``` diff --git a/templates/flake/.envrc b/templates/flake/.envrc index b1470135..9ee556b1 100644 --- a/templates/flake/.envrc +++ b/templates/flake/.envrc @@ -1,4 +1,4 @@ if ! has nix_direnv_version || ! nix_direnv_version 3.0.5; then - source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.5/direnvrc" "sha256-DzlYZ33mWF/Gs8DDeyjr8mnVmQGx7ASYqA5WlxwvBG4=" + source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.5/direnvrc" "sha256-RuwIS+QKFj/T9M2TFXScjBsLR6V3A17YVoEW/Q6AZ1w=" fi use flake