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.
samples/dynamic_theme/idx-template.nix

15 lines
340 B

# 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}
'';
}