From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id d1ebIRlsZmDQYQAAgWs5BA (envelope-from ) for ; Fri, 02 Apr 2021 02:58:01 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id SMN6GhlsZmDrXAAA1q6Kng (envelope-from ) for ; Fri, 02 Apr 2021 00:58:01 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C0A0416824 for ; Fri, 2 Apr 2021 02:58:00 +0200 (CEST) Received: from localhost ([::1]:44216 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lS88N-0006Ym-Df for larch@yhetil.org; Thu, 01 Apr 2021 20:57:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51362) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lS87p-0006YT-6Q for help-guix@gnu.org; Thu, 01 Apr 2021 20:57:25 -0400 Received: from knopi.disroot.org ([178.21.23.139]:38980) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lS87m-0004GX-KZ for help-guix@gnu.org; Thu, 01 Apr 2021 20:57:24 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id DB8C650CF8 for ; Fri, 2 Apr 2021 02:57:18 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0h6gP2Cf2V6h for ; Fri, 2 Apr 2021 02:57:17 +0200 (CEST) References: <878s69tj2c.fsf@disroot.org> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1617325037; bh=Y91/ngn0fLenB/8q4Y5qPc/m3MqJaEuJut94DWIOfMo=; h=References:From:To:Subject:In-reply-to:Date; b=O8Bpi5DxhqFol2TTkXanbSG6pOo1vslQweRP9qdzgOxhaUNVPuMqSR12lVw4/2gT9 ogB/lSNUjOqgctCEEF2CB0Qa9Vz61xpDS5GTX9N9CFq1ZRVqeeNEnQW9NhqcPg2aHW uVVo5AuGsg9EtYhWBMvjjMNrKTMUSpzzwOoSFX1YNj4jlFAKhF87eg7npfaZl6D6jr 64w4oaU8c0TAwkda/wnslCXHJgKc2rKrLNLHnHYZVDhLMPV1sN7D1+3QIpbGBdN8a1 pqAIxw+qDZoOcHJgbEc+HlbD40QkN8gztZZjE/alV+WJqXvTGqE44C07LgyiLkHYJW 2x/jq4Lebu+2w== From: Bone Baboon To: help-guix@gnu.org Subject: Re: Installing a previous version of a package In-reply-to: <878s69tj2c.fsf@disroot.org> Date: Thu, 01 Apr 2021 20:57:15 -0400 Message-ID: <87h7kpfqqc.fsf@disroot.org> Mime-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=178.21.23.139; envelope-from=bone.baboon@disroot.org; helo=knopi.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1617325081; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=KLCy8MpGF3JpbCXPqrkjUNsuZVqQuzCCDiuBEBNYl6k=; b=OlxnUXiqwLj2DLzlZ6Ta05ZRR/AE+JIKvUu++meLzKMVVZu1vilT84ZuRCNPBCawD2XE3s u4zkfdQ1mzAHTWev1oDLqbuvB+41cU1neVkvT/niM+Jwo2UB7FHJt66yteUVygjMTgfgLh +FoMOFDDh3JAZPOPy8D8Cky8BBaCcT3EVMBobhvZPk2pusV9gfd2sWtTx5dcN/ksNzXOPx s1LZ6Ai/WV5msmkDzlAVc1fJTdFc9EVVnbFm4bK164hJ3T8pYiblxLmXEhfesaPBw34Gn9 K9OPpYEiRW4FesfH5A8k/YEwY3AgGM5QZHhI2RResVtme0+JVMKLDtVmAD0FcA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617325081; a=rsa-sha256; cv=none; b=VrZKwrRF5Tjx6spC4v1BvaFN4C2CMeXYLEj8H9Aal6LmL2tN3b5u5cGucPHmRvCTJ/361D ip7ux1Kk6M++DWdbzTQa/s5yag+M9WDJ7RuVII4trYfkxBtWpl81Kk41TdNcfxNLQf/eR+ aK+W77+UNgnllcJrzktTPj6sdcOhorvSOSYlO8GGi/fhY+ipSKBqqCO5f9WYruv6zFhq3i Cml9iEykfNrE189FCmzm+w1FQ8N7gBaMSohaxt/abhmPUi8MggwQ6i/HI++9eOhPGtMM+B dounp9f7sS/akdi9q1hnErx3drv3jTww3tY3QNxIfRSmIXlFrD9DyZE1S5TtPQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=O8Bpi5Dx; dmarc=pass (policy=quarantine) header.from=disroot.org; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.63 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=O8Bpi5Dx; dmarc=pass (policy=quarantine) header.from=disroot.org; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: C0A0416824 X-Spam-Score: -2.63 X-Migadu-Scanner: scn0.migadu.com X-TUID: 3N2nY3PhqJIT How do others install a specific previous version of a package using their system configuration and the `guix system reconfigure config.scm` command? I have been able to get a previous version of a package installed in this case the 2.4.9 version of openvpn. The command I used was: `guix package --install-from-file=openvpn-2-4-9.scm` The contents of `openvpn-2-4-9.scm` is below. It is based on the openvpn part of `guix/gnu/packages/vpn.scm` at the git commit that defined version 2.4.9 of openvpn. ``` (use-modules ((guix licenses) #:prefix license:) (guix packages) (guix download) (guix git-download) (guix build-system cmake) (guix build-system gnu) (guix build-system linux-module) (guix build-system python) (gnu packages) (gnu packages admin) (gnu packages base) (gnu packages bash) (gnu packages check) (gnu packages dns) (gnu packages autotools) (gnu packages compression) (gnu packages gettext) (gnu packages gnupg) (gnu packages guile) (gnu packages libevent) (gnu packages linux) (gnu packages nss) (gnu packages perl) (gnu packages pkg-config) (gnu packages python) (gnu packages python-xyz) (gnu packages tls) (gnu packages xml)) (package (name "openvpn") (version "2.4.9") (source (origin (method url-fetch) (uri (string-append "https://swupdate.openvpn.org/community/releases/openvpn-" version ".tar.xz")) (sha256 (base32 "1qpbllwlha7cffsd5dlddb8rl22g9rar5zflkz1wrcllhvfkl7v4")))) (build-system gnu-build-system) (arguments '(#:configure-flags '("--enable-iproute2=yes"))) (native-inputs `(("iproute2" ,iproute))) (inputs `(("lz4" ,lz4) ("lzo" ,lzo) ("openssl" ,openssl) ("linux-pam" ,linux-pam))) (home-page "https://openvpn.net/") (synopsis "Virtual private network daemon") (description "OpenVPN implements virtual private network (@dfn{VPN}) techniques for creating secure point-to-point or site-to-site connections in routed or bridged configurations and remote access facilities. It uses a custom security protocol that utilizes SSL/TLS for key exchange. It is capable of traversing network address translators (@dfn{NAT}s) and firewalls.") (license license:gpl2)) ```