Conversation
|
Eval failure exists on staging as well. |
grahamc
left a comment
There was a problem hiding this comment.
Note that the sources are named "source" on purpose, see:
and I think @domenkozar did a talk on why this was a good change. We should talk a bit on if it is a good idea to go back to the previous way. cc @edolstra
|
One of the points raised in favor of this is the idea that the let
pkgs = import <nixpkgs> {};
srcWithName = name: pkgs.fetchgit {
inherit name;
url = "https://github.com/grahamc/ish.git";
rev = "7edd7665edf8e33e6847d891d2ff519b492b32dc";
sha256 = "0qjp8f82a09spz8z2idqj3w1lclr19p37877a8jscvss5a14bbda";
};
in pkgs.writeText "example" ''
${srcWithName "hi"}
${srcWithName "there"}
${srcWithName "the"}
${srcWithName "hash"}
${srcWithName "is"}
${srcWithName "unchanged"}
'' |
|
@GrahamcOfBorg eval |
|
Note the eval error on staging was fixed, and the error now is due to changes in this PR. |
|
Indeed the use of |
Motivation for this change
More clarity in store path names, more abstraction
Things done
sandboxinnix.confon non-NixOS)nix-shell -p nix-review --run "nix-review wip"./result/bin/)nix path-info -Sbefore and after)