From 6d984739458511f444e80f06f6a12dd400268372 Mon Sep 17 00:00:00 2001 From: Wong Hoi Sing Edison Date: Fri, 2 Apr 2021 11:51:30 +0800 Subject: [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 --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3-54-g00ecf