summaryrefslogtreecommitdiff
path: root/nix/default.nix
diff options
context:
space:
mode:
authorWong Hoi Sing Edison <hswong3i@gmail.com>2020-08-10 16:56:11 +0800
committerWong Hoi Sing Edison <hswong3i@gmail.com>2020-08-11 14:10:52 +0800
commit2965fc3e1e29d772ef08a203f0f767f7c215d99b (patch)
tree55bf237d37f18c724db388c44b2ed45250995f7e /nix/default.nix
parentdf0ad51075102c49d170bfeb77085b3c9c251ed6 (diff)
downloadpodman-2965fc3e1e29d772ef08a203f0f767f7c215d99b.tar.gz
podman-2965fc3e1e29d772ef08a203f0f767f7c215d99b.tar.bz2
podman-2965fc3e1e29d772ef08a203f0f767f7c215d99b.zip
Update nix pin with `make nixpkgs`
Also sync nix `packageOverrides` across skopeo/buildah/podman/cri-o for utilizing local build cache. Signed-off-by: Wong Hoi Sing Edison <hswong3i@gmail.com>
Diffstat (limited to 'nix/default.nix')
-rw-r--r--nix/default.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/nix/default.nix b/nix/default.nix
index 4fe818b39..cc8786ce0 100644
--- a/nix/default.nix
+++ b/nix/default.nix
@@ -7,6 +7,15 @@ let
libassuan = (static pkg.libassuan);
libgpgerror = (static pkg.libgpgerror);
libseccomp = (static pkg.libseccomp);
+ glib = (static pkg.glib).overrideAttrs(x: {
+ outputs = [ "bin" "out" "dev" ];
+ mesonFlags = [
+ "-Ddefault_library=static"
+ "-Ddevbindir=${placeholder ''dev''}/bin"
+ "-Dgtk_doc=false"
+ "-Dnls=disabled"
+ ];
+ });
};
};
});