Skip to content

Instantly share code, notes, and snippets.

@srhb
Created October 30, 2019 19:13
Show Gist options
  • Save srhb/5cae99a6e54b338b613580dd21c68b5a to your computer and use it in GitHub Desktop.
Save srhb/5cae99a6e54b338b613580dd21c68b5a to your computer and use it in GitHub Desktop.
let
overlay = self: super: {
nixpkgs = ~/src/nixpkgs;
nixops-src = ~/src/nixops;
nixops-aws-src = ~/src/nixops-aws;
my-nixops-with-aws = self.callPackage "${self.nixops-src}/release.nix" {
nixpkgs = ~/src/nixpkgs;
p = p: [ (p.callPackage "${self.nixops-aws-src}/release.nix" {})];
};
};
pkgs = import <nixpkgs> { overlays = [overlay]; };
in
pkgs.my-nixops-with-aws.build.x86_64-linux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment