From b628c0ce959185a5e85e06475a77ae44f9ac4907 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 | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/tooling/codeql/codeql-ql/default.nix b/tooling/codeql/codeql-ql/default.nix index fb6bc021f..2122fa8ca 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 5e536be80..aab80d48e 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 3545d4ec7..675f05edd 100644 --- a/tooling/codeql/ql-extractor/default.nix +++ b/tooling/codeql/ql-extractor/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 { ql-extractor-0_0_1 = pkgs.callPackage ./0.0.1.nix {};