Skip to content

Commit

Permalink
Merge pull request #120 from obsidiansystems/jg-fix-nix-build
Browse files Browse the repository at this point in the history
Fix nix build
  • Loading branch information
jonored authored Nov 26, 2019
2 parents dd3eb02 + cf18923 commit 8f16fe6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ let
'';
};
nvramDataSize = appDir: pkgs.runCommand "nvram-data-size" {} ''
envram_data="0x$(cat | grep _envram_data '${appDir + /debug/app.map}' | cut -f1 -d' ')"
nvram_data="0x$(grep _nvram_data '${appDir + /debug/app.map}' | cut -f1 -d' ')"
envram_data="$(grep _envram_data '${appDir + /debug/app.map}' | tr -s ' ' | cut -f2 -d' ')"
nvram_data="$(grep _nvram_data '${appDir + /debug/app.map}' | tr -s ' ' | cut -f2 -d' ')"
echo "$(($envram_data - $nvram_data))" > "$out"
'';
mkRelease = short_name: name: appDir: pkgs.runCommand "${short_name}-nano-${bolos.name}-release-dir" {} ''
Expand Down

0 comments on commit 8f16fe6

Please sign in to comment.