aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorWong Hoi Sing Edison <hswong3i@pantarei-design.com>2021-04-02 11:51:30 +0800
committerWong Hoi Sing Edison <hswong3i@pantarei-design.com>2021-04-06 21:52:00 +0800
commit6d984739458511f444e80f06f6a12dd400268372 (patch)
tree85a0026235fa43669cb05bd683de08ad57960a61 /Makefile
parentf143de9db6861cd8b8d6fc4e03f2826041307982 (diff)
downloadpodman-6d984739458511f444e80f06f6a12dd400268372.tar.gz
podman-6d984739458511f444e80f06f6a12dd400268372.tar.bz2
podman-6d984739458511f444e80f06f6a12dd400268372.zip
[NO TESTS NEEDED] Update nix pin with `make nixpkgs`
- Bugfix `make nixpkgs` which pin with branch `nixos-20.09` - Code lint with `nixpkgs-fmt` - Code sync between x86\_64 and aarch64 Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 705ac4ded..a70e07991 100644
--- a/Makefile
+++ b/Makefile
@@ -242,8 +242,11 @@ bin/podman.cross.%: .gopathok
# Update nix/nixpkgs.json its latest stable commit
.PHONY: nixpkgs
nixpkgs:
- @nix run -f channel:nixos-20.09 nix-prefetch-git -c nix-prefetch-git \
- --no-deepClone https://github.com/nixos/nixpkgs > nix/nixpkgs.json
+ @nix run \
+ -f channel:nixos-20.09 nix-prefetch-git \
+ -c nix-prefetch-git \
+ --no-deepClone \
+ https://github.com/nixos/nixpkgs refs/head/nixos-20.09 > nix/nixpkgs.json
# Build statically linked binary
.PHONY: static