mirror of
https://github.com/traxys/Nixfiles.git
synced 2026-05-17 00:05:08 +02:00
minimal: Stop using nom with nixos-rebuild
This hides nix warnings
This commit is contained in:
parent
c0f6ce4c82
commit
1f05b818c0
1 changed files with 0 additions and 24 deletions
|
|
@ -43,30 +43,6 @@
|
|||
};
|
||||
};
|
||||
|
||||
nixpkgs.overlays = [
|
||||
(final: super: {
|
||||
nixos-rebuild = super.nixos-rebuild.overrideAttrs (old: {
|
||||
nativeBuildInputs = old.nativeBuildInputs ++ [ pkgs.makeWrapper ];
|
||||
|
||||
src = "${
|
||||
final.runCommand "nixos-rebuild.sh" { } ''
|
||||
mkdir -p $out
|
||||
|
||||
cp ${old.src} nixos-rebuild.sh
|
||||
|
||||
patch -p5 <${./nom-rebuild.patch}
|
||||
mv nixos-rebuild.sh $out
|
||||
''
|
||||
}/nixos-rebuild.sh";
|
||||
|
||||
postInstall = ''
|
||||
${old.postInstall}
|
||||
wrapProgram $out/bin/nixos-rebuild --prefix PATH ${lib.makeBinPath [ pkgs.nix-output-monitor ]}
|
||||
'';
|
||||
});
|
||||
})
|
||||
];
|
||||
|
||||
nix = {
|
||||
package = pkgs.nixVersions.latest;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue