treewide: various warning fixups
This commit is contained in:
parent
03d0572cae
commit
068f1e2d9c
4 changed files with 16 additions and 9 deletions
|
@ -1,9 +1,7 @@
|
|||
{ depot, lib, ... }:
|
||||
let
|
||||
inherit (depot) pkgs;
|
||||
mercurial = (pkgs.mercurial.overridePythonAttrs (origAttrs: {
|
||||
propagatedBuildInputs = [pkgs.python3Packages.hg-evolve];
|
||||
}));
|
||||
inherit (depot.nix.pkgs) mercurial;
|
||||
updateNixpkgs = pkgs.runCommand "update_nixpkgs" {
|
||||
buildInputs = with pkgs; [ makeWrapper ];
|
||||
} ''
|
||||
|
@ -25,7 +23,9 @@ pkgs.dockerTools.buildImage {
|
|||
];
|
||||
};
|
||||
|
||||
contents = [
|
||||
copyToRoot = pkgs.buildEnv {
|
||||
name = "update_nixpkgs-root";
|
||||
paths = [
|
||||
pkgs.cacert updateNixpkgs
|
||||
(pkgs.runCommand "update_nixpkgs_content" {} ''
|
||||
mkdir $out $out/root $out/root/.ssh $out/etc $out/tmp
|
||||
|
@ -58,4 +58,5 @@ share =
|
|||
EOF
|
||||
'')
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
{ config, depot, lib, pkgs, ... }:
|
||||
let
|
||||
inherit (depot.ops) secrets;
|
||||
systemConfig = config;
|
||||
in {
|
||||
imports = [
|
||||
../lib/bvm.nix
|
||||
|
@ -182,6 +183,7 @@ in {
|
|||
vim rxvt-unicode-unwrapped.terminfo kitty.terminfo rsync jq
|
||||
depot.nix.pkgs.heptapod-runner-mercurial
|
||||
];
|
||||
system.stateVersion = systemConfig.system.stateVersion;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -12,6 +12,7 @@ let
|
|||
propagatedBuildInputs = with ps; [
|
||||
zope_interface
|
||||
pytz
|
||||
setuptools
|
||||
];
|
||||
|
||||
src = pkgs.fetchFromGitHub {
|
||||
|
|
5
third_party/default.nix
vendored
5
third_party/default.nix
vendored
|
@ -62,7 +62,10 @@ rec {
|
|||
in origOut // {
|
||||
dockerImage = nixpkgs.dockerTools.buildImage {
|
||||
name = args.name;
|
||||
contents = dockerData;
|
||||
copyToRoot = nixpkgs.buildEnv {
|
||||
name = "${args.name}-env";
|
||||
paths = dockerData;
|
||||
};
|
||||
config = {
|
||||
Entrypoint = [ "${origOut}/bin/${args.name}" ];
|
||||
Env = [
|
||||
|
|
Loading…
Reference in a new issue