1
1
mirror of https://github.com/divnix/digga.git synced 2024-12-24 16:44:52 +03:00

core: use self for nixos-option compat path

This commit is contained in:
Pacman99 2021-05-11 11:40:37 -07:00
parent 725e459655
commit 8a590c9fef

View File

@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ self, config, lib, pkgs, ... }:
let inherit (lib) fileContents;
in
{
@ -76,7 +76,7 @@ in
'';
# fix nixos-option
nixos-option = "nixos-option -I nixpkgs=${toString ../../lib/compat}";
nixos-option = "nixos-option -I nixpkgs=${self}/lib/compat";
# sudo
s = ifSudo "sudo -E ";