Loading pkgs/by-name/ps/psst/make-build-reproducible.patch +4 −4 Original line number Diff line number Diff line Loading @@ -10,11 +10,11 @@ index 4e899af..0000000 - -fn main() { - let outdir = env::var("OUT_DIR").unwrap(); - let outfile = format!("{}/build-time.txt", outdir); - let outfile = format!("{outdir}/build-time.txt"); - - let mut fh = fs::File::create(outfile).unwrap(); - let now = OffsetDateTime::now_local().unwrap_or_else(|_| OffsetDateTime::now_utc()); - write!(fh, r#""{}""#, now).ok(); - write!(fh, r#""{now}""#).ok(); - - let git_config = File::from_git_dir("../.git/".into()).expect("Git Config not found!"); - // Get Git's 'Origin' URL Loading Loading @@ -43,9 +43,9 @@ index 4e899af..0000000 - let trimmed_url = remote_url.trim_end_matches(".git"); - remote_url.clone_from(&String::from(trimmed_url)); - - let outfile = format!("{}/remote-url.txt", outdir); - let outfile = format!("{outdir}/remote-url.txt"); - let mut file = fs::File::create(outfile).unwrap(); - write!(file, r#""{}""#, remote_url).ok(); - write!(file, r#""{remote_url}""#).ok(); -} diff --git a/psst-core/src/lib.rs b/psst-core/src/lib.rs index 2faa317..b890a2d 100644 Loading pkgs/by-name/ps/psst/package.nix +4 −4 Original line number Diff line number Diff line Loading @@ -33,16 +33,16 @@ let in rustPlatform.buildRustPackage { pname = "psst"; version = "0-unstable-2025-04-20"; version = "0-unstable-2025-11-16"; src = fetchFromGitHub { owner = "jpochyla"; repo = "psst"; rev = "86169f8b05c1b3502261cfe1fae9af2487b8f1bb"; hash = "sha256-BkGoaYflCTiElTj47r2j/ngUrZ9wIe0q4pl+zhoattA="; rev = "cae05c43f4aee2c5936375225c4586ea35594835"; hash = "sha256-iCm5lvZq64Dmbe/stkZO0XvX0mWfmzFgl3MeCTI6/hM="; }; cargoHash = "sha256-gt2EDrZ+XXig5JUsmQksSLaFd7UArnttOT4UiTVASXw="; cargoHash = "sha256-Q4xMsX6lJK3Or+oKuPOTCec2pe+oBWC33peCE1x7QRg="; # specify the subdirectory of the binary crate to build from the workspace buildAndTestSubdir = "psst-gui"; Loading Loading
pkgs/by-name/ps/psst/make-build-reproducible.patch +4 −4 Original line number Diff line number Diff line Loading @@ -10,11 +10,11 @@ index 4e899af..0000000 - -fn main() { - let outdir = env::var("OUT_DIR").unwrap(); - let outfile = format!("{}/build-time.txt", outdir); - let outfile = format!("{outdir}/build-time.txt"); - - let mut fh = fs::File::create(outfile).unwrap(); - let now = OffsetDateTime::now_local().unwrap_or_else(|_| OffsetDateTime::now_utc()); - write!(fh, r#""{}""#, now).ok(); - write!(fh, r#""{now}""#).ok(); - - let git_config = File::from_git_dir("../.git/".into()).expect("Git Config not found!"); - // Get Git's 'Origin' URL Loading Loading @@ -43,9 +43,9 @@ index 4e899af..0000000 - let trimmed_url = remote_url.trim_end_matches(".git"); - remote_url.clone_from(&String::from(trimmed_url)); - - let outfile = format!("{}/remote-url.txt", outdir); - let outfile = format!("{outdir}/remote-url.txt"); - let mut file = fs::File::create(outfile).unwrap(); - write!(file, r#""{}""#, remote_url).ok(); - write!(file, r#""{remote_url}""#).ok(); -} diff --git a/psst-core/src/lib.rs b/psst-core/src/lib.rs index 2faa317..b890a2d 100644 Loading
pkgs/by-name/ps/psst/package.nix +4 −4 Original line number Diff line number Diff line Loading @@ -33,16 +33,16 @@ let in rustPlatform.buildRustPackage { pname = "psst"; version = "0-unstable-2025-04-20"; version = "0-unstable-2025-11-16"; src = fetchFromGitHub { owner = "jpochyla"; repo = "psst"; rev = "86169f8b05c1b3502261cfe1fae9af2487b8f1bb"; hash = "sha256-BkGoaYflCTiElTj47r2j/ngUrZ9wIe0q4pl+zhoattA="; rev = "cae05c43f4aee2c5936375225c4586ea35594835"; hash = "sha256-iCm5lvZq64Dmbe/stkZO0XvX0mWfmzFgl3MeCTI6/hM="; }; cargoHash = "sha256-gt2EDrZ+XXig5JUsmQksSLaFd7UArnttOT4UiTVASXw="; cargoHash = "sha256-Q4xMsX6lJK3Or+oKuPOTCec2pe+oBWC33peCE1x7QRg="; # specify the subdirectory of the binary crate to build from the workspace buildAndTestSubdir = "psst-gui"; Loading