Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions template/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# on Darwin (macOS), but doesn't seem to actually be necessary beyond
# production hardening.
fakeroot =
if self.buildPlatform.isDarwin then
if self.stdenv.buildPlatform.isDarwin then
self.writeScriptBin "fakeroot" ''exec "$@"''
else
super.fakeroot;
Expand All @@ -14,7 +14,7 @@
# (non-Nix build tools like Tilt, as well as the container composition scripts)
, pkgsLocal ? import nixpkgs { inherit overlays; }
# Default to building for the local CPU architecture
, targetArch ? pkgsLocal.hostPlatform.linuxArch
, targetArch ? pkgsLocal.stdenv.hostPlatform.linuxArch
, targetSystem ? "${targetArch}-unknown-linux-gnu"
, pkgsTarget ? import nixpkgs {
inherit overlays;
Expand Down
6 changes: 3 additions & 3 deletions template/nix/sources.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.