Skip to content

Instantly share code, notes, and snippets.

@exarkun
Created July 6, 2017 13:44
Show Gist options
  • Save exarkun/e065ac73a72df043782a90c01a451714 to your computer and use it in GitHub Desktop.
Save exarkun/e065ac73a72df043782a90c01a451714 to your computer and use it in GitHub Desktop.
"fixtures" = python.overrideDerivation super."fixtures" (old: rec {
# nativeBuildInputs = old.nativeBuildInputs ++ [ pkgs.pythonPackages.testtools ];
# patchPhase = ''
# sed -i -e 's/, "testtools (>=0.9.22)"//'
# '';
});
"testtools" = python.overrideDerivation super."testtools" (old: rec {
propagatedNativeBuildInputs = remove "fixtures" old.propagatedNativeBuildInputs;
# nativeBuildInputs = old.nativeBuildInputs ++ [ self."fixtures" ];
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment