Commit 65e71430 authored by Silvan Mosberger's avatar Silvan Mosberger Committed by Silvan Mosberger
Browse files

nix-info: Format files with nixfmt

This is a rare case of a Nix file actually ending up in the build result.
We reformat this now, causing a rebuild, so that we won't cause a rebuild
in the treewide reformatting PR.
parent aecefeaa
Loading
Loading
Loading
Loading
+10 −11
Original line number Diff line number Diff line
let
  pkgs = import <nixpkgs> { };
in pkgs.runCommand "diagnostics-multiuser"
  {  }
  ''
in
pkgs.runCommand "diagnostics-multiuser" { } ''
  set -x
  # no cache: ${toString builtins.currentTime}
  # For reproducibility, nix always uses nixbld group:
+3 −2
Original line number Diff line number Diff line
let
  pkgs = import <nixpkgs> { };
in pkgs.runCommand "diagnostics-sandbox"
in
pkgs.runCommand "diagnostics-sandbox"
  {
    __noChroot = true;
  }
+8 −9
Original line number Diff line number Diff line
let
  pkgs = import <nixpkgs> { };
in pkgs.runCommand "diagnostics-sandbox"
  { }
  ''
in
pkgs.runCommand "diagnostics-sandbox" { } ''
  set -x
  # no cache: ${toString builtins.currentTime}
  test -d "$(dirname "$out")/../var/nix"