1
1
mirror of https://github.com/nmattia/niv.git synced 2024-10-06 12:27:35 +03:00

Workaround nix-shell silliness

This commit is contained in:
Nicolas Mattia 2021-11-08 12:34:52 +01:00
parent 0ff60d5b09
commit a751be0775

View File

@ -1,4 +1,4 @@
{ sources ? import ./sources.nix }:
{ sources ? import ./sources.nix, inNixShell ? null /* nix-shell sometimes adds this */ }:
import sources.nixpkgs {
overlays = [
(_: pkgs: { inherit sources; })