Skip to content
Snippets Groups Projects
Commit ec4e45e7 authored by Teo Camarasu's avatar Teo Camarasu
Browse files

Fix build under nix restricted eval mode

parent ccf51c96
No related branches found
No related tags found
No related merge requests found
Pipeline #63449 failed
let sources = import ./nix/sources.nix; { sources ? import ./nix/sources.nix, nixpkgs ? (import sources.nixpkgs.outPath {}) }:
in
{ nixpkgs ? (import sources.nixpkgs.outPath {}) }:
with nixpkgs; with nixpkgs;
let let
......
...@@ -11,10 +11,10 @@ ...@@ -11,10 +11,10 @@
inputs.overlay-tool.flake = false; inputs.overlay-tool.flake = false;
inputs.flake-compat.url = "github:edolstra/flake-compat"; inputs.flake-compat.url = "github:edolstra/flake-compat";
inputs.flake-compat.flake = false; inputs.flake-compat.flake = false;
outputs = {nixpkgs, ...}: outputs = sources@{nixpkgs, ...}:
let let
system = "x86_64-linux"; system = "x86_64-linux";
env = import ./ci/default.nix { nixpkgs = nixpkgs.legacyPackages."${system}"; }; env = import ./ci/default.nix { inherit sources; nixpkgs = nixpkgs.legacyPackages."${system}"; };
in { in {
devShells."${system}".default = env; devShells."${system}".default = env;
hydraJobs.env."${system}" = env; hydraJobs.env."${system}" = env;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment