snapshot of https://github.com/flutter/samples.git (main, 2026-09-16; blobs > 131072B omitted)
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
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
This commit is contained in:
15
dynamic_theme/idx-template.nix
Normal file
15
dynamic_theme/idx-template.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
# 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}
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user