From 29a353abdab69e4cfe81aed08a22d694d7de4f30 Mon Sep 17 00:00:00 2001 From: Remco Vermeulen Date: Fri, 26 Jan 2024 18:08:19 -0800 Subject: [PATCH] Pin Nix packages --- tooling/codeql/codeql-ql/default.nix | 3 ++- tooling/codeql/default.nix | 3 ++- tooling/codeql/ql-extractor/default.nix | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/tooling/codeql/codeql-ql/default.nix b/tooling/codeql/codeql-ql/default.nix index fb6bc021fb..2122fa8ca4 100644 --- a/tooling/codeql/codeql-ql/default.nix +++ b/tooling/codeql/codeql-ql/default.nix @@ -1,5 +1,6 @@ let - pkgs = import {}; + nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/archive/0e148322b344eab7c8d52f6e59b0d95ba73fb62e.tar.gz"; + pkgs = (import nixpkgs { config = {}; overlays = []; }) in { codeql-ql-0_1_0-dev = pkgs.callPackage ./0.0.1-dev.nix {}; diff --git a/tooling/codeql/default.nix b/tooling/codeql/default.nix index 5e536be801..509ff3550b 100644 --- a/tooling/codeql/default.nix +++ b/tooling/codeql/default.nix @@ -1,5 +1,6 @@ let - pkgs = import {}; + nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/archive/0e148322b344eab7c8d52f6e59b0d95ba73fb62e.tar.gz"; + pkgs = (import nixpkgs { config = {}; overlays = []; }) in rec { ql-extractor-0_0_1 = pkgs.callPackage ./ql-extractor/0.0.1.nix {}; diff --git a/tooling/codeql/ql-extractor/default.nix b/tooling/codeql/ql-extractor/default.nix index 3545d4ec7d..f3c0723266 100644 --- a/tooling/codeql/ql-extractor/default.nix +++ b/tooling/codeql/ql-extractor/default.nix @@ -1,5 +1,5 @@ let - pkgs = import {}; + pkgs = fetchTarball "https://github.com/NixOS/nixpkgs/archive/0e148322b344eab7c8d52f6e59b0d95ba73fb62e.tar.gz"; in { ql-extractor-0_0_1 = pkgs.callPackage ./0.0.1.nix {};