mirror of
https://github.com/snowfallorg/nix-software-center.git
synced 2024-10-26 23:19:24 +03:00
Add gnome-console dependency
This commit is contained in:
parent
630a718bac
commit
5532c19944
@ -66,4 +66,8 @@ pkgs.stdenv.mkDerivation rec {
|
||||
substituteInPlace ./src/lib.rs \
|
||||
--replace "/usr/share/app-info" "${nixos-appstream-data}/share/app-info"
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/nix-software-center --prefix PATH : '${lib.makeBinPath [ pkgs.gnome-console ]}'
|
||||
'';
|
||||
}
|
||||
|
@ -1475,6 +1475,7 @@ impl Component for PkgModel {
|
||||
Launch::GtkApp(x) => {
|
||||
match self.userpkgtype {
|
||||
UserPkgs::Env => {
|
||||
debug!("Launching {} with nix-shell", x);
|
||||
let _ = Command::new("nix-shell")
|
||||
.arg("-p")
|
||||
.arg(&self.pkg)
|
||||
@ -1483,6 +1484,7 @@ impl Component for PkgModel {
|
||||
.spawn();
|
||||
}
|
||||
UserPkgs::Profile => {
|
||||
debug!("Launching {} with nix shell", x);
|
||||
let _ = Command::new("nix")
|
||||
.arg("shell")
|
||||
.arg(&format!("nixpkgs#{}", self.pkg))
|
||||
|
Loading…
Reference in New Issue
Block a user