From 44c2fa0300594af3ada44b5876a6468fcbf2890a Mon Sep 17 00:00:00 2001 From: Cassandra Comar Date: Fri, 7 Oct 2022 19:44:43 -0400 Subject: [PATCH] fix nix flakes reference --- default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/default.nix b/default.nix index 84c4e27..a5051c4 100644 --- a/default.nix +++ b/default.nix @@ -1,4 +1,4 @@ -{ pkgs ? import {} }: +{ pkgs ? import { } }: with pkgs; stdenv.mkDerivation { @@ -7,7 +7,7 @@ stdenv.mkDerivation { src = ./.; postPatch = '' - sed -i "2iNIX_BIN_PREFIX=${nixFlakes}/bin/" direnvrc + sed -i "2iNIX_BIN_PREFIX=${nixVersions.stable}/bin/" direnvrc substituteInPlace direnvrc \ --replace "grep" "${gnugrep}/bin/grep" ''; @@ -18,8 +18,8 @@ stdenv.mkDerivation { meta = with lib; { description = "A fast, persistent use_nix implementation for direnv"; - homepage = "https://github.com/nix-community/nix-direnv"; - license = licenses.mit; - platforms = platforms.unix; + homepage = "https://github.com/nix-community/nix-direnv"; + license = licenses.mit; + platforms = platforms.unix; }; }