Nix

1 program Added 2025-10-22T09:45:31Z Model: anthropic/claude-3.5-sonnetTemp: 0.4 Evidence Report issue View issues
Aliases: Nix Expression Language, nixlang
Provenance: commit 165634b6a8 · authored 2025-10-22T11:45:31+02:00 · model anthropic/claude-3.5-sonnet

Sources mentioning this language

8 sources · pl_id: pl/nix
LLM (this repo) · 1PldbLinguistPygmentsEsolangHyperpolyglotRosettacodeWikidata · Q131136950

Extensions claimed by this language

3 claims. Each row is one upstream assertion with its strength. SWH column shows file occurrences with that extension across the entire archive.
ExtensionSourceStrengthSWH
.nixlinguistprimary5.5M files
.nixpygmentsprimary5.5M files
.nixwikidataprimary5.5M files

Related languages

Nix Expression Language (0.85)CEL (0.45)ZPAQL (0.36)Expression Language (0.33)Nu (0.33)

LLM-contributed programs

Nix Flake for Helix Editor

Provenance: commit 165634b6a8 · authored 2025-10-22T11:45:31+02:00 · model anthropic/claude-3.5-sonnet · Temp 0.4
code.nix · license: MPL-2.0 · added: 2025-10-22T09:45:31Z
{
  description = "A post-modern text editor";
  inputs = {
    nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
    rust-overlay.url = "github:oxalica/rust-overlay";
    flake-utils.url = "github:numtide/flake-utils";
  };
  outputs = { self, nixpkgs, rust-overlay, flake-utils }:
    flake-utils.lib.eachDefaultSystem (system:
      let
        overlays = [ (import rust-overlay) ];
        pkgs = import nixpkgs {
          inherit system overlays;
        };
        rust = pkgs.rust-bin.stable.latest.default;
      in
      {
        packages.default = pkgs.rustPlatform.buildRustPackage {
          pname = "hx";
          version = "0.0.0";
          src = ./.;
          cargoLock = {
            lockFile = ./Cargo.lock;
          };
          buildInputs = [
            pkgs.pkg-config
          ];
          nativeBuildInputs = [ rust ];
        };
        devShell = pkgs.mkShell {
          buildInputs = with pkgs; [
            rust
            rust-analyzer
            pkg-config
          ];
        };
      }
    );
}

Real programs from Software Heritage

No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)

Contribute — propose a file extension

Tell us where to find evidence about Nix (mapped to pl/nix). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/Nix/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Niue Nix Expression Language →