@@ -1,4 +1,4 @@
1−{ lib, stdenv, fetchFromGitHub, gnugrep, nixFlakes }:
1+{ lib, stdenv, fetchFromGitHub, gnugrep, nixUnstable }:
22
33stdenv.mkDerivation rec {
44 pname = "nix-direnv";
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414 # Substitute instead of wrapping because the resulting file is
1515 # getting sourced, not executed:
1616 postPatch = ''
17− sed -i "1a NIX_BIN_PREFIX=${nixFlakes}/bin/" direnvrc
17+ sed -i "1a NIX_BIN_PREFIX=${nixUnstable}/bin/" direnvrc
1818 substituteInPlace direnvrc --replace "grep" "${gnugrep}/bin/grep"
1919 '';
2020