Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixops-aws
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 48a97f5b4825
Choose a base ref
...
head repository: NixOS/nixops-aws
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: c61356ff7337
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Oct 25, 2019

  1. partially revert 0af9c8b

    Fixes #9.
    AmineChikhaoui committed Oct 25, 2019
    Copy the full SHA
    c61356f View commit details
Showing with 3 additions and 3 deletions.
  1. +3 −3 release.nix
6 changes: 3 additions & 3 deletions release.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ src ? { outPath = ./.; revCount = 0; shortRev = "abcdef"; rev = "HEAD"; }
{ nixopsSrc ? { outPath = ./.; revCount = 0; shortRev = "abcdef"; rev = "HEAD"; }
, officialRelease ? false
, nixpkgs ? <nixpkgs>
}:
@@ -7,8 +7,8 @@ let
pkgs = import nixpkgs { system = "x86_64-linux"; };
version = "1.7" +
(if officialRelease then ""
else if src ? lastModified then "pre${builtins.substring 0 8 src.lastModified}.${src.shortRev}"
else "pre${toString src.revCount}_${src.shortRev}");
else if nixopsSrc ? lastModified then "pre${builtins.substring 0 8 nixopsSrc.lastModified}.${nixopsSrc.shortRev}"
else "pre${toString nixopsSrc.revCount}_${nixopsSrc.shortRev}");
in

rec {