fix(3p/dfmt): Enable release builds
This was supposed to be a new patchset of the previous commit, but due to ??? the change became submittable in between patchsets and I submitted it. Change-Id: I92aca64a9f3eee5b7ede6e9fa37d3b12d3f5d1f7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3729 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
This commit is contained in:
parent
8301825124
commit
7bde7ca995
1 changed files with 4 additions and 3 deletions
7
third_party/dfmt/default.nix
vendored
7
third_party/dfmt/default.nix
vendored
|
@ -17,14 +17,15 @@ pkgs.stdenv.mkDerivation rec {
|
|||
dmd
|
||||
|
||||
# fake git that will be used to fetch the version string
|
||||
(pkgs.writeShellScriptBin "git" ''
|
||||
echo 'v${version}'
|
||||
'')
|
||||
(pkgs.writeShellScriptBin "git" "echo 'v${version}'")
|
||||
];
|
||||
|
||||
DFLAGS = "-release";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp bin/dfmt $out/bin/
|
||||
strip -s $out/bin/dfmt
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
|
Loading…
Reference in a new issue