mirror of https://github.com/flutter/samples.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
340 B
15 lines
340 B
5 months ago
|
# 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}
|
||
|
'';
|
||
|
}
|