Skip to content

Instantly share code, notes, and snippets.

@widlarizer
Created February 21, 2025 10:40
Show Gist options
  • Save widlarizer/ee0309554ee35e774d7cfa933e2d6279 to your computer and use it in GitHub Desktop.
Save widlarizer/ee0309554ee35e774d7cfa933e2d6279 to your computer and use it in GitHub Desktop.
goofy ass pdm backend error
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let pkgs = import nixpkgs { inherit system; }; in {
devShell = pkgs.mkShell {
buildInputs = with pkgs; [
(python3.withPackages (ps: [
(ps.amaranth.overridePythonAttrs (old: {
src = fetchFromGitHub {
owner = "prjunnamed";
repo = "amaranth";
rev = "main";
hash = "sha256-LRe+FwwrbmdaJcR24LBkcv6XSMKeku0aAlEQSDLYJJ8=";
};}))]))
];
};
}
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment