Comments (1)
Error message:
error: Cannot deploy from an unclean source tree!
The issue comes from this snippet:
'nix-instantiate' '--show-trace' '--expr' $'\n { system, configuration, hermetic ? false, flake ? false, ... }:\n let\n importFromFlake = { nixosConfig }:\n let\n flake = (import (\n fetchTarball {\n url = "https://github.com/edolstra/flake-compat/archive/99f1c2157fba4bfe6211a321fd0ee43199025dbf.tar.gz";\n sha256 = "0x2jn3vrawwv9xp15674wjz9pixwjyj3j771izayl962zziivbx2"; }\n ) {\n src = ./.;\n }).defaultNix;\n in\n builtins.getAttr nixosConfig flake.nixosConfigurations;\n os =\n if flake\n then importFromFlake { nixosConfig = configuration; }\n else if hermetic\n then import configuration\n else import <nixpkgs/nixos> { inherit system configuration; };\n in {\n inherit (builtins) currentSystem;\n\n substituters =\n builtins.concatStringsSep " " os.config.nix.binaryCaches;\n\n trusted-public-keys =\n builtins.concatStringsSep " " os.config.nix.binaryCachePublicKeys;\n\n drv_path = os.config.system.build.toplevel.drvPath;\n out_path = os.config.system.build.toplevel;\n }' '--argstr' 'configuration' 'bastion' '--arg' 'flake' 'true' '--argstr' 'system' 'x86_64-linux' '--arg' 'hermetic' 'false' -A out_path
from terraform-nixos.
Related Issues (20)
- Copy .nix files to /etc/nixos as well? HOT 5
- terraform-nixos doesn't work on Terraform Cloud HOT 20
- It is difficult to propagate key changes to other parts of a system
- nixos-instantiate.sh produces invalid output HOT 2
- error: unknown flag '--builders ''' HOT 1
- Pass arguments to nixos_config derivation HOT 1
- Error when using config and config_pwd option
- Google Cloud services fail to start
- Speed up the process of copying drv files to the remote host HOT 1
- Transfer request to nix-community HOT 15
- Random file provisioner error and SSH authentication failure with AWS EC2 HOT 3
- deploy_nixos leaks files from the working directory into the world-readable nix store
- deploy_nixos: hash changes when files change in the working directory, even .gitignored files with flakes
- Is this project still maintained?
- Google storage bucket md5hash changes on every run of Terraform apply in GitHub actions
- `ssh_key_file` bootstrap problem HOT 1
- Consider Terranix Integration HOT 1
- How to pass parameters to Nix script from Terraform? HOT 3
- How to deploy a new nixOS version? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-nixos.