summaryrefslogtreecommitdiff
path: root/nix/nixpkgs.nix
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-05-11 15:15:18 +0200
committerGitHub <noreply@github.com>2020-05-11 15:15:18 +0200
commitd473e6e35120ad254a62301a89be26e5ad589752 (patch)
tree99f35e8d868502febe889de3713f37fad58e3fcb /nix/nixpkgs.nix
parent01f747fdc3b601492d496536ced1386172c4e3d8 (diff)
parentc21258b70ed91ab5ff8b1d345123fed1011a49c9 (diff)
downloadpodman-d473e6e35120ad254a62301a89be26e5ad589752.tar.gz
podman-d473e6e35120ad254a62301a89be26e5ad589752.tar.bz2
podman-d473e6e35120ad254a62301a89be26e5ad589752.zip
Merge pull request #5566 from openSUSE/static-binary
Add podman static build
Diffstat (limited to 'nix/nixpkgs.nix')
-rw-r--r--nix/nixpkgs.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/nix/nixpkgs.nix b/nix/nixpkgs.nix
new file mode 100644
index 000000000..21e7f17a2
--- /dev/null
+++ b/nix/nixpkgs.nix
@@ -0,0 +1,8 @@
+let
+ json = builtins.fromJSON (builtins.readFile ./nixpkgs.json);
+ nixpkgs = import (builtins.fetchTarball {
+ name = "nixos-unstable";
+ url = "${json.url}/archive/${json.rev}.tar.gz";
+ inherit (json) sha256;
+ });
+in nixpkgs