Giter Club home page Giter Club logo

Comments (1)

zimbatm avatar zimbatm commented on August 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.