Skip to content

Build in nixos #8

Description

@seam345

TLDR:
Not really an issue (feel free to close for any reason) more documenting where I am with getting this to build in NixOs
but the following command should drop you into a shell where you can run cargo mutest

nix-shell -I nixpkgs=https://github.com/seam345/nixpkgs/archive/refs/heads/sean/mutest-rs.tar.gz -p mutest-rs cargo

Ramble version ( a jumble of thought that I will hopefully refine)

A few months ago I got it building and trying to pick it back up, more publicly this time so people can try it or possibly use it as a jumping off point.

I managed to update the nixpkgs commit to nixos/unstable @ 2026-07-03

Things todo

  • Get back up to date
  • Enable testing during build
  • Work out if i can build with a local default.nix file,
  • Confirm compilation works on other architecture and cross compilation
    • Friend got it built on macos

Get back up to date

I pinned it to 2025-11-28 (51530a0), originally it was pulling master but building today (2026-07-03) it breaks so i need to see whats changed :D
managed to move to latest commit, in case sean/mutest-rs fails to build here is the older version, as I've no idea why it was failing before as i only updated the sha and commit

nix-shell -I nixpkgs=https://github.com/seam345/nixpkgs/archive/99b477b7b2b4.tar.gz -p mutest-rs cargo

Work out if i can build with a local default.nix file

#10

Actually submitting to nixpkgs

Firstly I have zero experience with getting it into nixpkgs but my plan was to wait till there is a release tag :)

As a flake

I have zero flake experience and don't really use them on my machine so wont be tackling it, Hopefully by having wrote the current nix derivation it will be fairly easy for someone to flake it

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions