Skip to content

Commit

Permalink
overlays fix
Browse files Browse the repository at this point in the history
  • Loading branch information
manveru authored and Shay Bergmann committed Jun 14, 2022
1 parent a3cab67 commit a64dcea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/augment-nomad-job.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{nixpkgs}: let
pkgs = import nixpkgs {system = "x86_64-linux";};
pkgs = nixpkgs.legacyPackages.x86_64-linux;
maybeAddPackage = nixpkgs.lib.mapAttrs (
name: orig:
orig
Expand Down
5 changes: 4 additions & 1 deletion lib/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ in rec {

augmentNomadJob = import ./augment-nomad-job.nix {inherit nixpkgs;};
mkNomadJobs = ns: envs: let
pkgs = import nixpkgs {system = "x86_64-linux";};
pkgs = import nixpkgs {
system = "x86_64-linux";
overlays = [];
};
in
builtins.mapAttrs (
n: job: let
Expand Down

0 comments on commit a64dcea

Please sign in to comment.