nix.url = "github:nixos/nix/ed129267dcd7dd2cce48c09b17aefd6cfc488bcd"; # before splitting libnixflake }; outputs = inputs @ { nixpkgs, flake-utils, nocargo, rust-overlay, ... }: @@ -27,7 +27,7 @@ overlays = [ (import rust-overlay) nix-for-py-overlay ]; inherit system;...
fh, the official FlakeHub CLI fh is a scrappy CLI for searching FlakeHub and adding new inputs to your Nix flakes. Usage Using fh from FlakeHub: nix shell "https://flakehub.com/f/DeterminateSystems/fh/*.tar.gz" Note This builds fh locally on your computer. Pre-built binaries aren't...
inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; flake-utils.url = "github:numtide/flake-utils"; }; outputs = { self, nixpkgs, flake-utils }: flake-utils.lib.eachSystem [ "x86_64-linux" "aarch64-linux" "i686-linux" ] (system: let pkgs = nixpkgs.le...
flake.lock [create-pull-request] automated change 14天前 flake.nix Add default home-manager module 2个月前 go.mod Bump golang.org/x/crypto from 0.36.0 to 0.37.0 19天前 go.sum Bump golang.org/x/crypto from 0.36.0 to 0.37.0
TL;DR: We’ll set up and run a Model Context Protocol (MCP) server that communicates with Snowflake to run SQL queries. We’ll install using Smithery (a frictionless approach for installing MCP servers). Then we’ll run the server, show logs, and test
Set up a flake with the Home Manager template by running flake new: nix flake new ~/.config/nixpkgs -t github:nix-community/home-manager Listing 2: ~/.config/home-manager/flake.nix { description = "Home Manager configuration of Jane Doe"; inputs = { # Specify the source of Home ...
rust 如何用nix编译llm库它解决了这个问题,但没有回答为什么默认使用rust 1.69。在薄片中加入铁 rust ...
Nix Flakes 在 flake.nix 中通过 inputs 声明依赖包的数据源,通过 flake.lock 锁定依赖版本,完全取代掉了 nix-channel 的功能。nix-env: 用于管理用户环境的软件包,是传统 Nix 的核心命令行工具。它从 nix-channel 定义的数据源中安装软件包,所以安装的软件包版本受 channel 影响。通过nix-env安装的包不会被...
flake.nix +181 Original file line numberDiff line numberDiff line change @@ -0,0 +1,181 @@ 1 + { 2 + description = "Flake utils demo"; 3 + 4 + inputs.flake-utils.url = "github:numtide/flake-utils"; 5 + 6 + outputs = 7 + { 8 + self, 9 + nixpkgs, ...
A faster, persistent implementation ofdirenv'suse_nixanduse_flake, to replace the built-in one. Prominent features: significantly faster after the first run by caching thenix-shellenvironment prevents garbage collection of build dependencies by symlinking the resulting shell derivation in the user'sgc...