New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rlite: init at 2020-03-31 #92241
rlite: init at 2020-03-31 #92241
Conversation
Interesting project. Just tested with Results:
|
, enable-python ? false | ||
, enable-wifi ? false | ||
}: | ||
let |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove let in and move it into rec.
, enable-wifi ? false | ||
}: | ||
let | ||
deps = [ which cmake protobuf ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this and move it to the correct location.
description = "A light RINA implementation"; | ||
homepage = https://github.com/rlite/rlite; | ||
license = licenses.lgpl21; | ||
maintainers = [ maintainers.twey ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maintainers = [ maintainers.twey ]; | |
maintainers = with maintainers; [ twey ]; |
sha256 = "1gngcxxl792lqpwdvxqzlajgx3rgxaksxdbj55hjcr4d3qiqq905"; | ||
}; | ||
|
||
buildInputs = stdenv.lib.concatLists [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use ++ instead of concatLists.
This is waiting for some time... can you apply Sandro's comments so we can move on to approval and merge? Thanks. |
I marked this as stale due to inactivity. → More info |
buildPhase = "make -j$NIX_BUILD_CORES"; | ||
installPhase = "make install"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Those should be done automatically. Please give removing this a try.
./strip-hardcoded-usr-install-prefix.patch | ||
]; | ||
|
||
postUnpack = "patchShebangs ."; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be postPatch. Which files exactly?
++ stdenv.lib.optionals enable-python [ python swig ] | ||
++ stdenv.lib.optionals enable-wifi [ wpa_supplicant hostapd ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
++ stdenv.lib.optionals enable-python [ python swig ] | |
++ stdenv.lib.optionals enable-wifi [ wpa_supplicant hostapd ]; | |
++ lib.optionals enable-python [ python swig ] | |
++ lib.optionals enable-wifi [ wpa_supplicant hostapd ]; |
Sorry, I ran out of time to work on this, and since the upstream project has stagnated it no longer compiles on recent Linux. I'm closing this PR. |
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)