]> git.scottworley.com Git - auto-upgrade-with-pinch/commit - modules/auto-upgrade.nix
Switch from 'nix eval' to 'nix-instantiate --eval'
authorScott Worley <scottworley@scottworley.com>
Fri, 29 Apr 2022 23:50:44 +0000 (16:50 -0700)
committerScott Worley <scottworley@scottworley.com>
Fri, 29 Apr 2022 23:50:44 +0000 (16:50 -0700)
commite830691a697a3a5d0e4461ceb073ac36abdfe3d6
tree3c284f7c69a1cc5250ef35bd7dfc50f6487d7f54
parentbbc804af5ed161ec3aea729002bf6b0e57af4357
Switch from 'nix eval' to 'nix-instantiate --eval'

Nix 2.4 changed the interface to 'nix eval' so that --arg doesn't work anymore.

This is a workaround for https://github.com/NixOS/nix/issues/2678
modules/auto-upgrade.nix