Some checks failed
Main Branch CI / Test Flutter beta on ubuntu-latest (push) Has been skipped
Main Branch CI / Test Flutter stable on ubuntu-latest (push) Has been skipped
Main Branch CI / Test Flutter beta on macos-latest (push) Has been cancelled
Main Branch CI / Test Flutter stable on macos-latest (push) Has been cancelled
15 lines
340 B
Nix
15 lines
340 B
Nix
# No user-configurable parameters
|
|
{ pkgs, ... }: {
|
|
packages = [
|
|
pkgs.flutter
|
|
];
|
|
# Shell script that produces the final environment
|
|
bootstrap = ''
|
|
export HOME=/home/user
|
|
export PATH="$PATH":"$HOME/flutter/bin"
|
|
|
|
cp -rf ${./.} "$out"
|
|
chmod -R +w "$out"
|
|
rm -rf "$out/.git" "$out/idx-template".{nix,json}
|
|
'';
|
|
} |