diff options
-rw-r--r-- | nixos/modules/programs/rust-motd.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/programs/rust-motd.nix b/nixos/modules/programs/rust-motd.nix index 3e3ce63ab212c..8999e882d01a2 100644 --- a/nixos/modules/programs/rust-motd.nix +++ b/nixos/modules/programs/rust-motd.nix @@ -28,7 +28,7 @@ let nativeBuildInputs = [ pkgs.remarshal pkgs.jq ]; }) '' - cat "$NIX_BUILD_TOP"/.attrs.json \ + cat "$NIX_ATTRS_JSON_FILE" \ | jq '${concatMapStringsSep " + " (key: ''."${key}"'') (attrNames orderedSections)}' \ | json2toml /dev/stdin "$out" ''; |