Skip to content

Commit

Permalink
Removed README and LICENSE workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
Thesola10 committed Mar 29, 2024
1 parent c4cd227 commit a0a57b1
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 11 deletions.
1 change: 0 additions & 1 deletion builder/LICENSE

This file was deleted.

1 change: 0 additions & 1 deletion builder/README.md

This file was deleted.

8 changes: 1 addition & 7 deletions builder/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,9 @@ in python3Packages.buildPythonApplication {
pname = "nixie";
version = nixie_ver;

src = ./.;
src = "${../.}/builder";
format = "pyproject";

preConfigure = ''
rm README.md LICENSE
cp ${../README.md} README.md
cp ${../LICENSE} LICENSE
'';

nativeBuildInputs = with python3Packages;
[ setuptools
];
Expand Down
4 changes: 2 additions & 2 deletions builder/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
name = "nixie"
description = "Portable Nix script builder"
authors = [ { "name" = "Karim Vergnes", "email" = "me@thesola.io" } ]
license = { "file" = "LICENSE" }
readme = "README.md"
license = { "file" = "../LICENSE" }
readme = "../README.md"
urls = { "Source" = "https://github.com/nixie-dev/nixie" }
dependencies = [
"click",
Expand Down

0 comments on commit a0a57b1

Please sign in to comment.