Jump to content

Translations:Flakes/200/zh

From Official NixOS Wiki

outputs = { self, nixpkgs}:

   let
     system = "x86_64-linux";
     pkgs = import nixpkgs { inherit system; };
   in {
     devShells.x86_64-linux.default = pkgs.mkShell {
       buildInputs = with pkgs; [
         hello
       ];
       shellHook = 
         echo "欢迎进入 devShell!"
       ;
     };
   };

} </syntaxhighlight>